Opened 11 years ago
Last modified 11 years ago
#2024 closed defect
[PATCH] branching in minimap texture filling — at Version 1
Reported by: | tuan kuranes | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 15 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
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 (2)
by , 11 years ago
Attachment: | branch.patch added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Summary: | branching in minimap texture filling → [PATCH] branching in minimap texture filling |
Note:
See TracTickets
for help on using tickets.