I have a BOM object having an array of objects, within this some of the objects again have array of objects. This goes on for two more levels.
I need a little help in figuring out which is the best practice performance wise.
1. Sending the array of objects in a collection in the BOM and then using patterns (Nested patterns).
2. Sending the array of objects as a Map(Key, Object) and refer them in the SRL.
I have worked on collections before, I need to know the pros and cons of using Maps in Blaze.