Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By flipping the object ids as keys their positions become the values of the array and it becomes easier to look them up. This way we don't need to do a separate time-consuming array_search call for each item.
- Loading branch information