mapleFU commented on issue #46555:
URL: https://github.com/apache/arrow/issues/46555#issuecomment-2905679475
It's impressive to use one `buf` during building the variant object!
```go
// Builder is used to construct Variant values by appending data of various
types.
// It manages an internal buffer for the value data and a dictionary for
field keys.
type Builder struct {
buf bytes.Buffer
dict map[string]uint32
dictKeys [][]byte
allowDuplicates bool
}
```
--
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]