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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to