Reduce the number of unnecessary objects in pushed packs
Convert enqueue_object to a function
Fix dumb mistake in the comparison function
Merge pull request #1424 from phkelley/efficient_push

Reduce the number of unnecessary objects in pushed packs