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

CachedRange<V> performance audit #19

Merged
merged 9 commits into from
Dec 10, 2022
Merged

Conversation

neon-sunset
Copy link
Owner

No description provided.

- Sacrifice ordering by expiration in quicklist when inserting from IEnumerable to reduce loop body size
- Add benchmarks to track actual CachedRange perf
- Add PolySharp to work towards removing hand-rolled polyfills for older targets
@coveralls
Copy link

coveralls commented Nov 5, 2022

Coverage Status

Coverage decreased (-1.2%) to 92.775% when pulling 3a79888 on cached-range-perf-audit into 136d43a on main.

- Add 'net7.0' TFM
- Use PolySharp with private assets instead of IndexRange
- Move some project attributes to build props
- Only use write barrier in quicklist when working with non-managed keys, make sure JIT constant folds it
- Some global constants were mutable, mark them as readonly
- Clean up benchmarks a little
…ependency conflicts in a multi-target project
@neon-sunset neon-sunset marked this pull request as ready for review December 10, 2022 22:40
@neon-sunset neon-sunset merged commit 806f7bc into main Dec 10, 2022
@neon-sunset neon-sunset deleted the cached-range-perf-audit branch December 10, 2022 22:42
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.

None yet

2 participants