member access times

bearophile bearophileHUGS at lycos.com
Wed Dec 29 04:00:36 PST 2010


spir:

> Note: for _static_ member functions, times are roughly equal for all cases (~ 215%).

Keep in mind that (in theory) true static values need __gshared.


> [Also, I could not find how to get a row malloc (un-GC'ed), while indeed D must have one --probably C's directly, but where is it made available?]

import std.c.stdlib: malloc; // deprecated
import core.stdc.stdlib: malloc;

Bye,
bearophile


More information about the Digitalmars-d mailing list