Skip to content

readme: Add section with performance tips#540

Draft
sjakobi wants to merge 1 commit intomasterfrom
sjakobi/readme-perf-tips
Draft

readme: Add section with performance tips#540
sjakobi wants to merge 1 commit intomasterfrom
sjakobi/readme-perf-tips

Conversation

@sjakobi
Copy link
Copy Markdown
Member

@sjakobi sjakobi commented Nov 1, 2025

Context: #462

TODO:

  • Use -O2 instead of -O1?! Or possibly specific flags?! (The differenceWith bench are significantly slower with -O1 instead of -O2, but -fspec-constr seems to recuperate most of loss.)
  • Help u-c reduce allocations by re-using the old value instead of inserting an equal one.
  • Avoid String keys?!
  • Specialization
  • Prefer keys that can be unboxed to an unlifted representation.

Comment thread README.md
Comment on lines +41 to +43
#### Make sure that your keys' `(==)` method is fast

TODO (pointer equality!)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See #77.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant