Skip to content

Conversation

quzary
Copy link

@quzary quzary commented Jul 10, 2025

  1. class Pair replaced with struct Pair
  2. ValueRef used instead of Value in LinkedListNode. The performance gain is up to 5% (on small numbers no gain or a minor loss), memory gain is up to 23%.

quzary added 3 commits July 10, 2025 20:42
1. ``` class Pair``` replaced with ```struct Pair```
2. `ValueRef` used instead of `Value` in the `LinkedListNode`.
The performance gain is up to 5% (on small numbers no gain or a minor loss), memory gain is up to 23%.
Fixed indentation
@quzary quzary changed the title Improve LRU performance Improve LRU performance in C# Jul 28, 2025
Avoid using ValueRef with older framework versions.
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