BitShuffle#shuffle does not allow to pass arbitrary type sizes (even if the underlying library does support that) · Issue #298 · xerial/snappy-java · GitHub
More Web Proxy on the site http://driver.im/
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
For data encoding, sometimes integers with intermediate sizes (e.g. of 3 or 5 bytes) are used (e.g. to reduce bandwith). These arrays currently cannot be passed to the external BitShuffle library with snappy-java, because in snappy-java the typesize is predefined as constant. Since the external library actually supports arbitrary type sizes this is an unnecessary restriction.
How to fix:
Would be great to have the following methods:
public static int shuffle(ByteBuffer input, int typeSize, ByteBuffer shuffled) throws IOException {
...
}
public static int unshuffle(ByteBuffer shuffled, int typeSize, ByteBuffer output) throws IOException {
...
}
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
For data encoding, sometimes integers with intermediate sizes (e.g. of 3 or 5 bytes) are used (e.g. to reduce bandwith). These arrays currently cannot be passed to the external BitShuffle library with snappy-java, because in snappy-java the typesize is predefined as constant. Since the external library actually supports arbitrary type sizes this is an unnecessary restriction.
How to fix:
Would be great to have the following methods:
The text was updated successfully, but these errors were encountered: