v1.9.0
Features
- Added a new binary reader implementation that speeds up reads by up to 50% and allows for data to be parsed incrementally from a growing InputStream. To enable the new reader implementation, use
IonReaderBuilder.withIncrementalReadingEnabled
. (#355) - Added an
IonSystemBuilder
option (IonSystemBuilder.withReaderBuilder
) that allows users to specify anIonReaderBuilder
to be used to construct anyIonReaders
needed byIonSystem
’s methods (newReader
,iterate
,singleValue
, andIonLoader.load
viaIonSystem.getLoader
orIonSystem.newLoader
). This may be used, for example, to use the new incremental binary reader to read binary Ion data into itsIonValue
representation. (#385)
Fixes
- Added a pool of reusable UTF-8 decoders to be used by both binary reader implementations, making repetitive instantiation less expensive. (#388)
- Eliminated the use of
ConcurrentLinkedQueue.size()
in the binary writer’s block pool, improving writer performance when the pool gets large. (#389)
List of commits: v1.8.3...v1.9.0