BigDecimal serializer memory and throughput optimizations by gdela · Pull Request #1014 · EsotericSoftware/kryo (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gdela

Wojtek Gdela added 3 commits

October 6, 2023 17:44

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 gdela deleted the big-decimal-optimizations branch

October 14, 2023 16:32

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 }})