Originally posted by Jack Shirazi:
The main tip you all seem to have missed is reimplmenting the collections themselves to run the query inside the collection object. This gives you the fastest access to the elements.
I wrote a couple of articles on querying collections which illustrate this if that's any help, Optimizing a Query on a Collection and Optimize a Query on a Map.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton