title: logstash-filter-translate performance: how many keys would be too much keys in a ruby Hash?
body: <p><code>logstash-filter-translate</code> its a great filter to perform key/value lookups, but I am concerned about performance at scale and having many keys, let's say 50k keys stored on SSD, for what I understand reading the <a href="https://github.com/logstash-plugins/logstash-filter-translate/blob/master/lib/logstash/filters/translate.rb#L197" rel="nofollow noreferrer">source code</a>, a ruby <code>Hash</code> is pre-populated with the file content (in case of dictionary_path) and the lookup is made first ensuring key exists using a regex <code>match</code> and followed by the <code>get</code> it in case exists. I suppose this is mostly a Ruby question now but I wanted to ask for experiences.</p>