Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Benchmarks #31

Open
trans opened this issue May 15, 2018 · 2 comments
Open

Some Benchmarks #31

trans opened this issue May 15, 2018 · 2 comments

Comments

@trans
Copy link

trans commented May 15, 2018

I'm curious as to the performance of min. Would be nice to see a few benchmarks, maybe for some of these.

@h3rald h3rald added the ✓✓ label May 16, 2018
@h3rald
Copy link
Owner

h3rald commented May 16, 2018

I knew this was coming... :) OK I will take a look and try to provide something similar.

@h3rald
Copy link
Owner

h3rald commented May 20, 2018

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!

@h3rald h3rald added the OnHold label Feb 2, 2020
@ghost ghost mentioned this issue Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants