tisonkun commented on issue #135:
URL: 
https://github.com/apache/datasketches-rust/issues/135#issuecomment-4666058376

   @leerho 
   
   > In languages with Garbage Collection, getting the dynamic memory 
allocation at a point in time is rather nebulous. This is the main reason we 
have never provided that functionality in Java.
   
   Ah. That's it. In Rust (and C++ I believe), memory allocation can be audited 
so we can try to provdie such information.
   
   > Could you describe the scenarios where having this information would be 
critical?
   
   I can foresee two scenarios:
   
   1. For observability, like understanding which parts take the most memory, 
altering, etc.
   2. For capacity estimation, and possibly a quota limiter.
   
   > Nonetheless, if a particular language finds it useful and easy to add I 
don't see any objection to it. We don't require that the same exact APIs exist 
across all languages. Having the same basic functionality for the sketching 
itself would be important, but auxiliary functions like size(), not so much. :)
   
   For sure.


-- 
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]

Reply via email to