jmalkin commented on issue #361: URL: https://github.com/apache/datasketches-cpp/issues/361#issuecomment-1846703198
Well, it's not serialized as part of the sketch and I guess that limits the utility, but at some point we moved the random_bit into common_defs.hpp where it's directly user-facing. As a result, I believe you can set the seed as well as get/set the state of the underlying engine. And you're quite right that the state is larger, as I observed when testing to confirm that operations on `datasketches::random_utils::random_bit` work as expected. If this is still an interesting problem, please let me know if this is sufficient? Also, apologies about the absurdly long delay getting back to this. It occurred to me this evening that we had likely (partially) addressed this ask without realizing it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
