tdunning commented on issue #409: URL: https://github.com/apache/datasketches-cpp/issues/409#issuecomment-1865026573
The buffer has weights to increase the symmetry in the code (everything has weights). It makes every kind of sorting and merging look the same. On Tue, Dec 19, 2023 at 12:57 PM Alexander Saydakov < ***@***.***> wrote: > Also I am not sure that the buffer needs to have weights since the > buffered input values have weight of 1. Perhaps it is a tradeoff to avoid > allocations during compressions (and, perhaps, merging t-digests, which I > did not implement yet) > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/datasketches-cpp/issues/409#issuecomment-1863461948>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAB5E6XGPMGOGG4O4AR4HG3YKH5UXAVCNFSM6AAAAABANDLXNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRTGQ3DCOJUHA> > . > You are receiving this because you commented.Message ID: > ***@***.***> > -- 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]
