BigDecimal serializer memory and throughput optimizations by gdela · Pull Request #1014 · EsotericSoftware/kryo (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Wojtek Gdela added 3 commits
Main purpose is to avoid inflating BigDecimal during reads,
i.e. avoiding creation of BigInteger unscaled value as if it
is passed to BigDecimal constructor it makes this object bigger,
i.e. instead of 40 bytes it would be 104 bytes. Additionally now
the throughput of serialization/deserialization is better for some
values.
gdela deleted the big-decimal-optimizations branch
This was referenced
Oct 14, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})