You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since some of binary data formats support efficient representations for arrays of fixed-length scalars, let's add new writeArray(...) value write methods. Adding 3 overloads should suffice for now:
2 main integral types: int, long (we already have writeBinary() for byte arrays)
the main floating point type,double`
Although I earlier thought of more general approach that combines this with writeStartArray(), it really seems much simpler, and potentially more efficient, to have unified write.
In future we may also consider addition of alternate sources, if that makes sense (ByteBuffer and variants). Similarly we may consider support for float and perhaps short if there is demand for these.
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
(2.8) Add new scalar-array write methods for short/int/long, float/double cases
Add new scalar-array write methods for short/int/long, float/double cases
May 23, 2016
cowtowncoder
changed the title
Add new scalar-array write methods for short/int/long, float/double cases
Add new scalar-array write methods for int/long/double cases
May 23, 2016
Since some of binary data formats support efficient representations for arrays of fixed-length scalars, let's add new
writeArray(...)
value write methods. Adding 3 overloads should suffice for now:int
,long
(we already havewriteBinary()
for byte arrays),
double`Although I earlier thought of more general approach that combines this with
writeStartArray()
, it really seems much simpler, and potentially more efficient, to have unified write.In future we may also consider addition of alternate sources, if that makes sense (
ByteBuffer
and variants). Similarly we may consider support forfloat
and perhapsshort
if there is demand for these.The text was updated successfully, but these errors were encountered: