Skip to content

Strictly monotonic global access counter#597

Merged
Hirogen merged 5 commits into
Developmentfrom
small_bugfix
Jun 8, 2026
Merged

Strictly monotonic global access counter#597
Hirogen merged 5 commits into
Developmentfrom
small_bugfix

Conversation

@Hirogen
Copy link
Copy Markdown
Collaborator

@Hirogen Hirogen commented Jun 8, 2026

Strictly monotonic global access counter. Used instead of a wall-clock timestamp
(Environment.TickCount64) because its ~15 ms resolution lets many touches collapse onto
the same value during burst access, making LRU eviction order ambiguous. A sequence
counter gives every Touch a unique, ever-increasing value, so recency is totally ordered.

…k timestamp

(Environment.TickCount64) because its ~15 ms resolution lets many touches collapse onto
the same value during burst access, making LRU eviction order ambiguous. A sequence
counter gives every Touch a unique, ever-increasing value, so recency is totally ordered.
@Hirogen Hirogen changed the title Strictly monotonic global access counter. Used instead of a wall-cloc… Strictly monotonic global access counter Jun 8, 2026
Comment thread src/LogExpert.Core/Classes/Log/Buffers/LogBufferCacheEntry.cs Fixed
@Hirogen Hirogen merged commit a1e6ec9 into Development Jun 8, 2026
1 check passed
@Hirogen Hirogen deleted the small_bugfix branch June 8, 2026 13:23
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