OpenSearch/x-pack/plugin/ml/src
Dimitris Athanasiou 057cdffed5
[ML] Refactor DataStreamDiagnostics to use array (#30129)
This commit refactors the DataStreamDiagnostics class
achieving the following advantages:

- simpler code; by encapsulating the moving bucket histogram
into its own class
- better performance; by using an array to store the buckets
instead of a map
- explicit handling of gap buckets; in preparation of fixing #30080
2018-05-01 09:50:32 +01:00
..
main [ML] Refactor DataStreamDiagnostics to use array (#30129) 2018-05-01 09:50:32 +01:00
test/java/org/elasticsearch [ML] Refactor DataStreamDiagnostics to use array (#30129) 2018-05-01 09:50:32 +01:00