Changes between Version 2 and Version 3 of Ticket #1109, comment 17
- Timestamp:
- Sep 16, 2016, 11:11:19 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1109, comment 17
v2 v3 3 3 Then '''m_NewPositions.emplace_back(entityId, position + offset)''' instead of '''m_NewPositions[entityId] = position + offset'''. 4 4 5 It's guranteed that entities have different IDs. Or even you have the same IDs there for some reason (really don't know why) you could sort + unique, that still faster than an sinsertion to a map.5 It's guranteed that entities have different IDs. Or even you have the same IDs there for some reason (really don't know why) you could sort + unique, that still faster than an insertion to a map.