Skip to content

feat: optimize apply_formatters_to_sequence#307

Merged
kclowes merged 2 commits into
ethereum:mainfrom
BobTheBuidler:patch-3
Aug 28, 2025
Merged

feat: optimize apply_formatters_to_sequence#307
kclowes merged 2 commits into
ethereum:mainfrom
BobTheBuidler:patch-3

Conversation

@BobTheBuidler
Copy link
Copy Markdown
Contributor

@BobTheBuidler BobTheBuidler commented May 17, 2025

What was wrong?

We can perform this if-check optimistically since we expect it to succeed in most cases

Not a huge difference, but if we can save 2 len() calls per call, let's do it!

Related to Issue #
Closes #

How was it fixed?

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@BobTheBuidler
Copy link
Copy Markdown
Contributor Author

@kclowes @fselmo are there any blockers for this PR and my others?

Copy link
Copy Markdown
Contributor

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

This LGTM!

@kclowes kclowes merged commit 8663cd5 into ethereum:main Aug 28, 2025
24 checks passed
@BobTheBuidler BobTheBuidler deleted the patch-3 branch August 28, 2025 16:55
BobTheBuidler referenced this pull request in BobTheBuidler/faster-eth-utils Oct 18, 2025
* feat: optimize apply_formatters_to_sequence

* Create 307.performance.rst
BobTheBuidler referenced this pull request in BobTheBuidler/faster-eth-utils Oct 18, 2025
* Decrease strictness of error msg check on set (#313)

* Compile release notes for v5.3.1

* Bump version: 5.3.0 → 5.3.1

* feat: optimize apply_formatters_to_sequence (#307)

* feat: optimize apply_formatters_to_sequence

* Create 307.performance.rst

* chore: compile C files for source control

---------

Co-authored-by: kclowes <kclowes@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants