> On Thursday, November 2, 2017 at 9:42:27 PM UTC-4, Ben Hoyt wrote: >>> >>> I'm very curious how the performance of Skylark in Go compares to >>> Skylark in Java (and CPython 3.6 for that matter) -- any benchmarks on that? >>> >> > I don't have any rigorous comparisons, but my informal testing on a number > of small benchmarks suggests that CPython is about 2x faster than Skylark > in Go (in a single thread), and that Skylark in Go is about 10x faster than > Skylark in Java >
2x as fast as CPython sounds pretty good to me -- nice! I'm curious why you wrote the dict implementation from scratch (hashtable.go) instead of using Go maps as a base, and adding a secondary data structure (slice of keys?) to keep track of insertion order? I'm presuming there's a good technical reason, but at first glance it seems like it would be faster and simpler to use Go maps to start with. -Ben -- 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.