[PATCH] branching in minimap texture filling
Avoiding "if" inside big loops allows CPU to avoid branch mispredictions.
In this case, just memsetting all to 0 prior the loop avoid some if in the loop code just to fill it with zeroes.
Change History
(7)
Description: |
modified (diff)
|
Summary: |
branching in minimap texture filling → [PATCH] branching in minimap texture filling
|
Keywords: |
patch review added
|
Milestone: |
Backlog → Alpha 14
|
Priority: |
Should Have → Nice to Have
|
Owner: |
set to tuan kuranes
|
Milestone: |
Alpha 14 → Alpha 15
|
Keywords: |
reviewed added; review removed
|
Keywords: |
reviewed removed
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
Looks like a pretty harmless change in my opinion and can be committed to A15.
I'll mark the patch as 'reviewed' and it will be committed when feature lock is lifted.