aclysma/rafx

Skip "deduplication" code in frame packet building logic when possible

aclysma opened this issue · 0 comments

We have code in the frame packet that that ensures we only have 1 frame node per N view nodes for the same render object. But this logic is a bit expensive (lots of hash map lookups) and unnecessary if only one view exists. There are potentially a good number of situations that would match this case (anything 2d, for example) and it could save a good amount of CPU time.