Skip to content

Conversation

@Ddystopia
Copy link
Contributor

Judging only by docs it looked like BufferBackend is extremely inferior. After checking it's implementation, running benchmarks and comparing implementation to other backends it seems like absolutely superior backend, assuming the Symbol is correct.

This PR adds a notice that resolve_unchedked is quite fast for BufferBackend, exceeding other backends (23-28 % faster on my machine).

@codecov-commenter
Copy link

codecov-commenter commented Jun 20, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.98%. Comparing base (233bc6c) to head (21728bb).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   61.10%   60.98%   -0.12%     
==========================================
  Files          12       12              
  Lines         509      510       +1     
==========================================
  Hits          311      311              
- Misses        198      199       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Ddystopia
Copy link
Contributor Author

It says outdated deps, not sure if that PR has to do anything with it

Copy link
Owner

@Robbepop Robbepop left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Indeed this is probably a useful information to users.

//!
//! 2. `BufferBackend` is slow with checked resolving because its internal representation
//! is extremely sensible to the correctness of the symbols, thus a lot of checks
//! are performed. If you will only use symbols probided by the same instance of
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
//! are performed. If you will only use symbols probided by the same instance of
//! are performed. If you will only use symbols provided by the same instance of

@Robbepop Robbepop merged commit b997d20 into Robbepop:master Jun 20, 2025
15 of 16 checks passed
@Ddystopia
Copy link
Contributor Author

@Robbepop I didn't fix the typo, it is in the repo now

@Robbepop
Copy link
Owner

@Robbepop I didn't fix the typo, it is in the repo now

Ah sorry I forgot about that. Feel free to open another PR to fix it if you want.

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.

3 participants