Reviving YAGE
Benjamin Thaut
code at benjamin-thaut.de
Thu Feb 6 11:22:22 PST 2014
Am 06.02.2014 17:39, schrieb Martin Cejp:
>
> Looks to me like all of those could be worked around. Surely wouldn't
> make the code easier to read, but it shouldn't be *that* difficult.
> Don't append to arrays (use own pre-allocated vector if needed),
> allocate particle structs in bulk with plain malloc, no array literals
> in the hot path etc. No GC allocations = no GC runs
Yes of course you can workaround all these. Its just easier to
workaround if you don't have a GC in the first place, and triggering any
GC allocation instantly becomes a error.
More information about the Digitalmars-d
mailing list