my first Nimrod program runs circles around D
the implementation of my Lazy-Btree outperforms the same algorithm in D by a magnitude (all build as release code)
BTREE - inserting 1_000_000 string, int pairs DMD. 26926 ms (first run) - 7140 ms (second run with GC turned off) Nimrod: 1203 ms BTREE - searching 1_000_000 string, int pairs DMD: 1650 ms Nimrod: 484 ms and this is even quite good compared to the internal HASH in D and Nimrod HASH - inserting 1_000_000 string, int pairs DMD: 1887 ms Nimrod: 1266 ms HASH - searching 1_000_000 string, int pairs DMD: 1309 ms Nimrod: 468 ms
@Veritas
This is quite old, so it's likely it's no longer applicable (D has probably gotten much faster). Regardless, some research turned up https://github.com/AdrianV/nimrod-tools/blob/master/lazybtree.nim, though I am unable to find the D benchmark.
@fadg44a3w4fe, Thanks!
I should have thought to check the dates. I wonder why it was appearing in the recent forum discussions even prior to my post.