Read about Go finalizers.
> On Nov 22, 2020, at 6:13 AM, Sean wrote:
>
> I am writing a Golang wrapper for OpenAL-Soft.
> I need to create some buffers. These operations are happening on the
> OpenAL-Soft side (So C functions). I am loading PCM data into buffers.
>
> Can I set up a trigger m
I am writing a Golang wrapper for OpenAL-Soft.
I need to create some buffers. These operations are happening on the
OpenAL-Soft side (So C functions). I am loading PCM data into buffers.
Can I set up a trigger mechanism like "x.__del__" as in Python?
I can set the garbage collector to follow s
Hi,
I was wondering what problem *gcTriggerTime* is supposed to solve? Why
does the language need to force the GC every two minutes if it did not run?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this
Dear all,
I have some questions concerning the implementation details of the garbage
collector regarding slices and arrays.
I'm implementing bit slices. The current approach is to use the following
struct:
type BitSlice {
data []uint64
len int
}
Given that the slices length and capacity are
Is there a way to overwork the garbage collector in go lang?
--
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.
For more op