RobustToolbox icon indicating copy to clipboard operation
RobustToolbox copied to clipboard

Entity query struct enumerators

Open metalgearsloth opened this issue 3 years ago • 2 comments
trafficstars

They're based.

Changed over the ones that were top of memory profile on debug. Content PR incoming.

metalgearsloth avatar Oct 13 '22 14:10 metalgearsloth

Should we deprecate EntityQuery<>? I don't see a reason to keep it beyond ergonomics, and the footgun of alloc being avoided permanently would be nice.

moonheart08 avatar Oct 13 '22 14:10 moonheart08

Should we deprecate EntityQuery<>? I don't see a reason to keep it beyond ergonomics, and the footgun of alloc being avoided permanently would be nice.

Depends if we go ahead with flecs or not; if we are I wouldn't bother with the effort to refactor given both would probably get replaced. I just got these because they're several of the top 10 allocs on client and it only took me an hour.

metalgearsloth avatar Oct 13 '22 14:10 metalgearsloth