freakyzoidberg opened a new pull request, #9:
URL: https://github.com/apache/datasketches-go/pull/9

   Add the implementation of the Frequency Item Sketch for arbitrary types 
using generics.
   
   This also test for compatibility to go back and forth with the frequency 
LongSketch
   
   performance wise it does take a hit compared to LongSketch, but is probably 
manageable.
   
   
   
   ```
   pkg: github.com/apache/datasketches-go/frequencies
   BenchmarkLongSketch
   BenchmarkLongSketch-10-lgMapMax-128          24445705                95.53 
ns/op
   PASS
   
   pkg: github.com/apache/datasketches-go/frequencies
   BenchmarkLongSketch
   BenchmarkLongSketch-10-lgMapMax-10           47026702                21.29 
ns/op
   PASS
   ```
   
   ```
   pkg: github.com/apache/datasketches-go/frequencies
   BenchmarkItemSketch
   BenchmarkItemSketch-10-lgMapMax-128          14984071               140.3 
ns/op
   PASS
   
   pkg: github.com/apache/datasketches-go/frequencies
   BenchmarkItemSketch
   BenchmarkItemSketch-10-lgMapMax-10           34768750                33.51 
ns/op
   PASS
   ```
   
   
   
   


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