HomeWildfire Games

Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness…

Description

Optimise HierarchicalPathfinder::Update by speeding up the chunk dirtiness check.

By adding a custom function in Grid, the code gets vectorised on both gcc and clang, resulting in much faster code and faster update times, sometimes substantially (on giant maps or when few chunks must be updated).

Reviewed By: mimo

Differential Revision: https://code.wildfiregames.com/D73

Details

Committed
wraitiiDec 10 2017, 9:59 AM
Reviewer
mimo
Differential Revision
Restricted Differential Revision
Parents
rP20629: Slight cleanup of Commands.js.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 4061
Build 7126: Trigger Windows Autobuild
Build 7125: Post-Commit BuildJenkins