Re:Structured Logging with Slog
by masklinn on Wednesday August 23, 2023 @02:48AM
(#37232606)
While the hmap struct can be stack allocated if it does not escape, I’m pretty sure the buckets still need to be heap-allocated. I do not believe hmap has a “flat structure” variant which could live entirely on the stack, though I could be wrong.
[ Parent
| on HN ]
There are no comments on this comment yet.