LRU cache now as templated key type

Was testing to see if 16-bit cach emade a diff for the glyphs (it did not)
This commit is contained in:
2025-01-06 21:18:39 -05:00
parent bf38087d8e
commit a9080fe1f3
12 changed files with 185 additions and 120 deletions

View File

@ -35,7 +35,8 @@ import "core:container/queue"
import "core:dynlib"
import "core:hash"
crc32 :: hash.crc32
ginger16 :: hash.ginger16
crc32 :: hash.crc32
import "core:hash/xxhash"
xxh32 :: xxhash.XXH32

View File

@ -15,7 +15,7 @@ set_profiler_module_context :: #force_inline proc "contextless" ( ctx : ^SpallPr
Module_Context = ctx
}
DISABLE_PROFILING :: true
DISABLE_PROFILING :: false
@(deferred_none = profile_end, disabled = DISABLE_PROFILING)
profile :: #force_inline proc "contextless" ( name : string, loc := #caller_location ) {