tisonkun commented on PR #23: URL: https://github.com/apache/datasketches-rust/pull/23#issuecomment-3661202820
> > get_rank and get_quantile now takes &mut self because they call compress internally. I think we can add a "freezed" tdigest struct that will never updated then and already compressed, so that the freezed struct can be shared anywhere to test ranks and quantities without mut. > > I like this approach. Added `TDigest` and `TDigestMut` for this purpose. See 7175d98 for more details. Also an internal `TDigestView<'a>` for sharing core logic. -- 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]
