Graylog2 / Graylog2/graylog2-server

Convert IndexRange#streamIds to Set from List

Open
#4,898 4 comments 0 reactions 0 assignees View on GitHub
improvement low hanging fruit
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

We never rely on the order of `IndexRange#streamIds` and indeed check for containment in a loop which is wasteful for List.

Replace all usages, tests and signatures with `Set`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.