Divij Vaidya created KAFKA-14766: ------------------------------------ Summary: Improve performance of VarInt encoding/decoding Key: KAFKA-14766 URL: https://issues.apache.org/jira/browse/KAFKA-14766 Project: Kafka Issue Type: Improvement Components: core Reporter: Divij Vaidya Assignee: Divij Vaidya Fix For: 3.5.0
Our current implementation in ByteUtils could be improved via loop unrolling and short circuiting scenarios such as 0. With the changes in attached PR, we see upto 83% improvement in throughput for writingVarInt. -- This message was sent by Atlassian Jira (v8.20.10#820010)