apache / incubator-fury

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.

Home Page:https://fury.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Java] optimize MemoryBuffer.unsafePutPositiveVarInt bytecode size

chaokunyang opened this issue · comments

Is your feature request related to a problem? Please describe.

The bytecode size of MemoryBuffer.unsafePutPositiveVarInt is 466 bytes, which is too big for inline.

image

Describe the solution you'd like

We can rewrite it using algorithms like I used in #1462

Additional context