Anonymous user
K-d tree: Difference between revisions
+ note in second D entry
(Updated D entry) |
(+ note in second D entry) |
||
Line 437:
===Faster Alternative Version===
{{trans|C}}
This version performs less lookups. Compiled with DMD this version is two times slower than the C version. Compiled with ldc2 it's a little faster than the C version compiled with gcc.
<lang d>import std.stdio, std.algorithm, std.math, std.random, std.typetuple;
|