You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datasketches.apache.org by GitBox <gi...@apache.org> on 2019/08/08 14:02:26 UTC

[GitHub] [incubator-datasketches-cpp] jean-airoldie opened a new issue #56: kll_sketch::update & get_rank

jean-airoldie opened a new issue #56: kll_sketch::update & get_rank
URL: https://github.com/apache/incubator-datasketches-cpp/issues/56
 
 
   I have a use case where I want to get the approximate rank of each item inserted via `update` in a `kll_sketch`. Currently, calling `update` followed by `get_rank` each time reduces performance significantly (about 10x slower in my tests).
   
   Instead, would it be possible to speed up the `get_rank` computation by leveraging the fact that we already know the position of the value in the `items_` buffer, since it is returned by `kll_sketch::internal_update`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org