Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tedunangst
on Dec 23, 2023
|
parent
|
context
|
favorite
| on:
Otter, Fastest Go in-memory cache based on S3-FIFO...
And what does this code do to make itself reliable in the event the go authors change the internal structure of a map?
rad_gruchalski
on Dec 23, 2023
[–]
Nothing. That’s the trade off. What is not clear about “unsafe” in that context?
tedunangst
on Dec 23, 2023
|
parent
[–]
The part about making it reliable in the ways it needs to be.
oooyay
on Dec 23, 2023
|
root
|
parent
[–]
It's pinned to a Go version and these:
https://github.com/dolthub/maphash/blob/main/hasher_test.go
tedunangst
on Dec 23, 2023
|
root
|
parent
[–]
That's annoying, but at least reliable. Thank you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: