dablooms
dablooms copied to clipboard
Can't delete Go bloom filter
Is there currently no way to delete a Go bloom filter? https://github.com/bitly/dablooms/blob/master/godablooms/dablooms.go#L44
Am I also correct in thinking this memory will never get GC'ed, because it's in C?
Not explicitly, no. That destroy() method you linked to will execute when Go's garbage collector decides to clean up that object.
When nothing references the bloom filter pointer it will (eventually) be GCd.