Skip to content

Tweak IntSet.alterF#1217

Open
meooow25 wants to merge 1 commit into
haskell:masterfrom
meooow25:intset-alterf
Open

Tweak IntSet.alterF#1217
meooow25 wants to merge 1 commit into
haskell:masterfrom
meooow25:intset-alterf

Conversation

@meooow25
Copy link
Copy Markdown
Contributor

@meooow25 meooow25 commented Jun 6, 2026

  • Simplify the implementation slightly. This is not expected to affect performance.
  • Inline the definition since it is a small definition and it allows optimization based on the altering function.
  • Remove the Identity specialization since it will now be inlined.
  • Add a property test.
  • Add some benchmarks.

For #1209.

* Simplify the implementation slightly. This is not expected to affect
  performance.
* Inline the definition since it is a small definition and it allows
  optimization based on the altering function.
* Remove the Identity specialization since it will now be inlined.
* Add a property test.
* Add some benchmarks.
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