Log for options.go
-
Use float64 directly for the compression option by Caio 5 years ago
-
Tidy things up [gometalinter] by Caio 7 years ago
-
Expose options to change the RNG being used 💬 by Caio 7 years ago
This patch creates a new public interface `TDigestRNG` and exposes two new options: - tdigest.RandomNumberGenerator(TDigestRNG) - tdigest.LocalRandomNumberGenerator(seed)
-
Make New() return an error instead of panic()ing 💬 by Caio 7 years ago
This patch now makes New() return a (*TDigest,error) tuple, which makes deserialization safe without having to trap for panic()s. The only remaining panic() is for bad input in a public function (`Quantile(float64)`). I'm keen on keeping it.
-
Introduce a parameter-less New() 💬 by Caio 7 years ago
Now `tdigest.New()` gives a sane ready-to-use-in-most-cases digest. Configuration should be done via self referential functions. Ex: // create a digest with compression of 200 tdigest.New(tdigest.Compression(200)) Notice that New() can still panic, which means that deserialization if still more dangerous than it should.