This looks very promising but K cannot be set at runtime, which limits the use quite a bit. I didn't look at the code too closely, but maybe you could do: type KdPoint*[T:SomeNumber] = UncheckedArray[T] Run
- A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree Stefan_Salewski
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree Stefan_Salewski
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree b3liever
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree spip
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree spip
- Re: A pure Nim k-d tree brentp
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree brentp
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree brentp
- Re: A pure Nim k-d tree jlindsay
- Re: A pure Nim k-d tree b3liever