We are working with large (10MB+) protocol buffers and it seems like encoding is producing a ton of garbage. Ultimately I want to get the encoded protobuf onto disk, and I'm thinking I could avoid all of these list node allocations if I were to - with a few other changes - replace the _push call with an append to file call.
Any reasons I shouldn't bother?