The internal variables are stored in a Data struct which is then allocated on the GC and stored as a pointer in the struct. While this reduces the size of Appender, this indirection is unnecessary and also results in extra GC memory being allocated than needed.
Comment #1 by robert.schadek — 2024-12-01T16:29:49Z