pixelherodev commented on code in PR #578:
URL: https://github.com/apache/arrow-go/pull/578#discussion_r2558389912


##########
arrow/memory/refcount.go:
##########
@@ -0,0 +1,75 @@
+//go:build !norc
+
+package memory
+
+import (
+       "sync/atomic"
+       "unsafe"
+
+       "github.com/apache/arrow-go/v18/arrow/internal/debug"
+)
+
+type Refcount struct {
+       count        atomic.Int64
+       dependencies []unsafe.Pointer
+       buffers      []**Buffer

Review Comment:
   I'll explain in a dedicated comment going over the whole design



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to