mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 01:48:45 +00:00
In the triggered watch store a list of integers was returned to keep track which watches had been successfully stored and thus should be executed. This means, that an arraylist, plus autoboxing/unboxing needs to be done for all the triggered watches. This data structure can easily be replaced with a BitSet, resulting in much less objects being created or parsed - also it's a bit faster. Original commit: elastic/x-pack-elasticsearch@e9fba67e34