xiangfu0 opened a new pull request, #19836: URL: https://github.com/apache/pinot/pull/19836
OBJECT codecs can now write into a caller-provided `ByteBuffer`, so Roaring, UltraLogLog, and primitive lists avoid temporary payload arrays while keeping one canonical encoding implementation. Existing serializer implementations and wire bytes stay compatible. Usage: call `ObjectSerDeUtils.getSerializedSize(value, typeId)`; for a nonnegative size, reserve a bounded buffer and call `serialize(value, typeId, buffer)`. A size of `-1` keeps the existing byte-array path. Validation: 62 codec tests and 136 dependent StarTree conversion/literal/UDAF tests passed, along with formatting, license, and checkstyle checks. A fresh three-source benchmark is running; no CPU speedup is claimed. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
