On Monday, 29 June 2015 at 10:22:10 UTC, Atila Neves wrote:
I guess I'm going to have benchmark this now... :)
What about doing a memory profiling using DMD fresh builtin
profiler of
http://dpaste.dzfl.pl/17b0ed9c0204
?
I'm guessing the GC might give misguiding results as your
testStruct returns a relatively small data structure.
I would rather like to see a larger (randomized) structure being
tested on.
You could make use of my
https://github.com/nordlow/justd/blob/master/random_ex.d
for random instance generation :)