--- Comment #12 from 2012-04-26 19:54:08 PDT ---
Created an attachment (id=1099)

dmd -O -release -inline rbtree.d
time ./rbtree 0.566 total

With "scope(success) ++_length" in RBTree._add
the property calls are not inlined.

time ./rbtree 0.362 total

Then new RBTree!Elem allocates 33 bytes spending lots of time and space
for the unused 31 bytes.

Using GC.malloc directly:
time ./rbtree 0.228 total

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to