4 ms·
A map is a tiny struct containing a pointer to the bucket storage. It's always cheap to pass a map value.
by iand 9y ago
A map is a tiny struct containing a pointer to the bucket storage. It's always cheap to pass a map value.
- eliben 9y agoRight. I'm saying the linked blog post can be improved significantly by spending a paragraph on explaining this. Otherwise it just sounds like magic.