rafx icon indicating copy to clipboard operation
rafx copied to clipboard

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

Open aclysma opened this issue 4 years ago • 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.

aclysma avatar May 29 '21 05:05 aclysma