Re: [go-nuts] how to get dirt memory in go

2025-01-16 Thread Vasiliy Tolstov
Thanks, i'm check вт, 14 янв. 2025 г. в 16:49, Jan Mercl <0xj...@gmail.com>: > > On Tue, Jan 14, 2025 at 2:44 PM Vasiliy Tolstov wrote: > > > Hi! I'm try to search answers but have no luck. In go i can create > > memory arena/ buffer pool etc.. > > But does it possible to get memory with like mak

Re: [go-nuts] how to get dirt memory in go

2025-01-14 Thread Jan Mercl
On Tue, Jan 14, 2025 at 2:44 PM Vasiliy Tolstov wrote: > Hi! I'm try to search answers but have no luck. In go i can create > memory arena/ buffer pool etc.. > But does it possible to get memory with like make([]byte, XXX) but > without calloc for this memory? Not sure if it's what you're after,

[go-nuts] how to get dirt memory in go

2025-01-14 Thread Vasiliy Tolstov
Hi! I'm try to search answers but have no luck. In go i can create memory arena/ buffer pool etc.. But does it possible to get memory with like make([]byte, XXX) but without calloc for this memory? So i need to get raw memory from kernel without spending time to clearing it. -- Vasiliy Tolstov,