Johann Sorel

Results 20 comments of Johann Sorel

The doc is not very clear : ``` Description copied from interface: [ImmutableBitmapDataProvider](https://github.com/RoaringBitmap/RoaringBitmap/issues/ImmutableBitmapDataProvider.html#serialize(java.nio.ByteBuffer)) Serialize this bitmap to a ByteBuffer. This is the preferred method to serialize to a byte array...

Just made a test : ``` RoaringBitmap bitset = new RoaringBitmap(); bitset.add(1000); final ByteBuffer buffer = ByteBuffer.allocate(bitset.serializedSizeInBytes()); bitset.serialize(buffer); final byte[] bits = buffer.array(); System.out.println(Arrays.toString(bits)); ``` output is : ``` [58,...

That's what I have for now, but it does look really inefficient. ``` final BitSet bitset = new BitSet(numBits); this.bitset.forEach((IntConsumer) bitset::set); final byte[] bits = bitset.toByteArray(); ```

I have no choice, the GRIB Format is well defined, it's a standard https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/ We loose in memory, but it's only when writing it back in GRIB, when file is...

You are likely right, but I don't have the time, I'm new with RoaringBitmap. I'm a user here with a few allocated hours to fix an out of memory exception...

Some comments from [Michael.Beale [Autodesk]](https://app.slack.com/team/U02B324A1K5) on the Slack Khronos GLTF. https://app.slack.com/client/T02ACS44ZQA/C02AMPHV479 ![markupext](https://user-images.githubusercontent.com/8068203/155955277-7629ee28-b0a7-426a-982c-fea71186e9d4.gif) ![markupext_0](https://user-images.githubusercontent.com/8068203/155955285-fbe6b316-e076-4905-9c25-a39c99ef3411.jpg) https://www.youtube.com/watch?v=qz5nSFWBaUw annotations with behavior … annotations with dimensioning …

One way we could achieve it : like in Blender for constraints : **How to properly Billboard sprites & particles in Blender** https://youtu.be/hx8m9w4YyNo?t=49

to be taken in consideration : https://github.com/KhronosGroup/glTF/issues/2106

Thanks for the fast answer. I understand your situation, (I made both a GLTF-1 and GLTF-2/GLB reader/writer plus conversion to a 3d API in Java). I can't help much because...