allegro / allegro/bigcache

feature: Support uint64 keys without converting to string then back again

Offen
#380 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
8.2k
Forks
614
Ø Merge
5 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

Hey folks!

I have a use-case where we already use `xxh3` for hashing various things, including the key for a previous cache's key. We're using `bigcache` now, but it's a bit awkward doing `strconv.FormatUint` and then configuring a dummy `Hasher` to do `strconv.ParseUint`.

Is there a reason this is omitted?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.