[OT] Re: Why don't you advertise more your language on Quora etc ?

bachmeier via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 6 08:40:02 PST 2017


On Monday, 6 March 2017 at 06:39:27 UTC, Jack Stouffer wrote:

> void loop() {
>     // code
> }
>
> void loadLevel() {
>     import core.memory : GC;
>     GC.disable();
>     while(stuff)
>         loop();
>     GC.collect();
> }

GC.disable doesn't guarantee the garbage collector won't run: 
https://dlang.org/phobos/core_memory.html#.GC.disable I'm not 
sure how much impact that has in practice.


More information about the Digitalmars-d mailing list