I’m curious if you have any benchmarks or branches of the code prior to the assembly code and off heap memory management. This seems like an ideal case to test if things like that are worth the effort ?
> On Dec 12, 2018, at 9:59 AM, 'David Chase' via golang-nuts > <golang-nuts@googlegroups.com> wrote: > > Before you have too many people depending on the current interfaces, would > you consider replacing the point encoding of even/odd array elements with, > say, "type Point struct { x, y float64}" ? I think it would be a more > attractive interface. > > Would also be nice to use build tags to allow use of a Go version of the > amd64 assembly language code on other platforms. > >> On Saturday, December 8, 2018 at 8:39:14 PM UTC-5, Gabriel Furstenheim >> Milerud wrote: >> Hi, >> I've released a super fast and light geometric index implementing a >> STR-Tree. Here are some benchmarks on the size of the tree: >> >> BenchmarkSimpleRTree_FindNearestPoint/10 10000000 >> 124 ns/op >> BenchmarkSimpleRTree_FindNearestPoint/1000 3000000 >> 465 ns/op >> BenchmarkSimpleRTree_FindNearestPoint/10000 2000000 >> 670 ns/op >> BenchmarkSimpleRTree_FindNearestPoint/100000 2000000 >> 871 ns/op >> BenchmarkSimpleRTree_FindNearestPoint/1000000 1000000 >> 1210 ns/op >> BenchmarkSimpleRTree_FindNearestPoint/10000000 1000000 >> 1593 ns/op >> >> You can find the library at: https://github.com/furstenheim/SimpleRTree >> >> and the documentation at: >> https://godoc.org/github.com/furstenheim/SimpleRTree > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.