MagicStack / immutables

A high-performance immutable mapping type for Python.
Other
1.14k stars 57 forks source link

Add performance comparison vs dict #22

Closed jruere closed 4 years ago

jruere commented 4 years ago

Hi! It would be very useful to have a comparison of the performance of the library vs dict for each operation when using small and large datasets.

1st1 commented 4 years ago

Feel free to submit a PR. But the readme file has this https://gist.github.com/1st1/292e3f0bbe43bd65ff3256f80aa2637d and it's usually enough to demonstrate O(n) vs O(log n)