min
min copied to clipboard
Some Benchmarks
I'm curious as to the performance of min. Would be nice to see a few benchmarks, maybe for some of these.
I knew this was coming... :) OK I will take a look and try to provide something similar.
I started implementing the benchmarks available here mostly because they are simple to implement and to run.
Things like base64 seem to score OK... not as fast as C or nim, but faster than python for example.
Then I implemented the JSON benchmark and realised that probably I need to review the current implementation of dictionaries (currently there is no real datatype for dictionaries really, they are just lists of lists), because lookups are extremely inefficient.
I think I'll have to rethink something and perhaps introduce a native dictionary data type before running those benchmarks again.
Thank you for suggesting this BTW, it is a good way to improve the language!