3. The electronic device of claim 1 , wherein the one or more processors are further configured to execute the instructions to cause the electronic device to: cause the data structure of a second type to add each data structure of a first type into a bin in the data structure of a second type, the bin being one of a plurality of bins in the data structure of a second type; and for each bin comprising two or more data structures of a first type: add the two or more data structures of a first type to a multimap.
4. The electronic device of claim 3 , wherein the one or more processors are further configured to execute the instructions to cause the electronic device to: add two or more objects that correspond to the two or more data structures of a first type added to the multimap to the multimap; and in response to the added two or more objects being different from each other, remove at least one of the two or more data structures of a first type from their respective bin of the plurality of bins.