Thanks for the pointer to that package; looking at our go.mod, looks like we've already got it as a transitive dependency so it looks ideal for my use case.
On Friday, May 14, 2021 at 12:10:45 PM UTC+1 Jan Mercl wrote: > On Fri, May 14, 2021 at 12:36 PM sh...@tigera.io <sh...@tigera.io> wrote: > > > One way I could see to solve this would be to do some manual memory > management with MMap or BRK to allocate the buffer but I wondered if there > was an easier way? > > IMO using manual memory management _is_ the easy way in this case. I'm > using https://pkg.go.dev/modernc.org/memory for this. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/0200d7fb-a399-418a-8bbb-fcbbdbe9d28bn%40googlegroups.com.