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

further improvement on insert #101

Merged
merged 1 commit into from
Oct 17, 2020
Merged

further improvement on insert #101

merged 1 commit into from
Oct 17, 2020

Conversation

Yu-zh
Copy link
Collaborator

@Yu-zh Yu-zh commented Oct 16, 2020

This solves #99 , though the performance did not get improved when I ran the bench :(

Copy link

@hint-man hint-man bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no place for me here... I will choose the truth I like.

@chshersh chshersh added performance 🐴 Performance improvements hacktoberfest-accepted Accept contributions during Hacktoberfest labels Oct 17, 2020
Copy link
Contributor

@chshersh chshersh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Yu-zh! Thanks for your contribution, your implementation is correct 👍

You don't see benchmarking improvements, because your implementation works better when a key is already in the TypeRepMap, but in our benchmarks, we always insert new keys... So, we need to implement a separate benchmark for this case, but benchmarking is a separate story...

@chshersh chshersh merged commit e55aed6 into kowainik:master Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accept contributions during Hacktoberfest performance 🐴 Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants