MrQuansy opened a new pull request, #308:
URL: https://github.com/apache/tsfile/pull/308

   # Summary
   Add PooledBinary class for Binary object allocation optimization.
   
   This PR introduces a new PooledBinary class designed for binary object 
pooling at the application layer. It aims to improve allocation performance and 
reduce GC overhead by enabling binary object reuse.
   
   # Details
   The PooledBinary class is similar to the existing Binary class but with 
additional features to support object pooling:
   
   * Added length field to indicate the actual valid data length, which is less 
than or equal to the underlying byte array length
   * Added arenaIndex field to serve the allocator's needs
   
   # Next Steps
   This is the first step in a series of planned changes. Future PRs will 
modify specific Binary usages to PooledBinary in the codebase.


-- 
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: notifications-unsubscr...@tsfile.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to