Faster.Map is a high-performance, thread-safe key-value store designed to outperform the standard Dictionary and ConcurrentDictionary
75
stars
7
forks
source link
Question: Is it safe to make jump_distances static? #12
Closed
miroslavp closed 1 year ago
Hi, I noticed that jump_distances is read-only and never modified. Is it safe to make it static, so it is not allocated per instance?
https://github.com/Wsm2110/Faster.Map/blob/99a11197c7bf46fc975f44c9aceb91da07689373/src/DenseMapSIMD.cs#L131-L141