liuhenry946-oss opened a new pull request, #3175:
URL: https://github.com/apache/brpc/pull/3175

   ### What problem does this PR solve?
   Implemented `Arena::allocate_aligned` in `butil` and applied it to 
[RedisReply](cci:1://file:///c:/Users/29858/.gemini/antigravity/scratch/brpc/src/brpc/redis_reply.cpp:33:0-50:1)
 to solve the FIXME: "// FIXME(gejun): Call allocate_aligned instead."
   
   ### Changes
   - Added 
[allocate_aligned](cci:1://file:///c:/Users/29858/.gemini/antigravity/scratch/brpc/src/butil/arena.h:83:0-98:1)
 to `butil::Arena`.
   - Updated `brpc::RedisReply` to use aligned allocation.
   - Added unit tests in `test/arena_unittest.cpp`.


-- 
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]

Reply via email to