Skip to content

Instantly share code, notes, and snippets.

"RelatedRecords": [
{
"Type": "rs",
"Label": "Research Starters",
"Records": [
{
"ResultId": 1,
"Header": {
"DbId": "ers",
"DbLabel": "Research Starters",
// rdmd -profile -release -O -noboundscheck stackheap.d
import std.stdio;
import std.datetime;
enum array_size = 10_000;
enum timing_size = 100_000;
// Duplicating the function to separate the results in the profiler
module tinker;
import std.stdio;
class A
{
int foo;
float bar;
}
import std.stdio;
class Foo(uint something)
{
Foo opBinary(string op)(Foo rhs) const
if (op == "*")
{
writeln("calling Foo.*");