Skip to content

Commit 0bc75e9

Browse files
authored
Don't inline LRU warmup method (#459)
1 parent 8b5e246 commit 0bc75e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BitFaster.Caching/Lru/ConcurrentLruCore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ private void Cycle(int hotCount)
578578
}
579579
}
580580

581+
[MethodImpl(MethodImplOptions.NoInlining)]
581582
private void CycleDuringWarmup(int hotCount)
582583
{
583584
// do nothing until hot is full

0 commit comments

Comments
 (0)