Efficiently retrieve all objects with certain tag

Add your objects to an array during creation, and reference this array when you need access them efficiently.