Hello, I've heard we can avoid dynamic allocation using a specific allocator instead of the default one. Does somebody have an example ?
Best regards, Julien. Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > Le jeudi 2 août 2012 18:06:56 UTC+2, Julien PONNOU a écrit : > > Hello, > > I'm using the C version of protobuf. I'm wondering if there is a way to > not allocate memory dynamically to serialize/deserialize a message. In > other words, is there a "ZERO ALLOCATION" method to use it ? > > Best regards, > > Julien. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/1uy6OHHrTfMJ. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.