ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5097) BinaryMarshaller should write ints in "varint" encoding where it makes sense
Date Thu, 27 Apr 2017 08:09:04 GMT
Vladimir Ozerov created IGNITE-5097:
---------------------------------------

             Summary: BinaryMarshaller should write ints in "varint" encoding where it makes
sense
                 Key: IGNITE-5097
                 URL: https://issues.apache.org/jira/browse/IGNITE-5097
             Project: Ignite
          Issue Type: Task
          Components: general
    Affects Versions: 2.0
            Reporter: Vladimir Ozerov
             Fix For: 2.1


There are a lot of places in the code where we write integers for some special purposes. Quite
often their value will be vary small, so that applying "varint" format could save a lot of
space at the cost of very low additional CPU overhead. 

Specifically:
1) Array/collection/map lengths
2) BigDecimal's (usually will save ~6 bytes)
3) Strings
4) Enum ordinals



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message