Re: [E] Theta Serialize/Deserialize and then update?

2021-08-26 Thread leerho
Hi Karl, I just want to explain the reasons you cannot create an UpdateSketch directly from a CompactSketch: The CompactSketch is by definition immutable and has the smallest footprint and simplest structure. It is produced as the result of all of the set operations because the set operations e

Re: [E] Theta Serialize/Deserialize and then update?

2021-08-26 Thread Karl Matthias
Thanks for that. I figured out how to manage it in the Java lib. You need to use a WritableMemory to wrap the byte array and then explicitly instantiate an UpdateSketch with the WritableMemory. This is now working and I'm doing some prototyping. Ideally I could use this from the C++ library as well