Page MenuHomeWildfire Games

[Minor cleanup] Use typed arrays where possible and worth it.
Needs ReviewPublic

Authored by smiley on Mon, Nov 19, 7:19 PM.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

Nothing ought to be changed. Except maybe a few micro seconds faster.

Test Plan

-

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

smiley created this revision.Mon, Nov 19, 7:19 PM
smiley added inline comments.Mon, Nov 19, 7:22 PM
binaries/data/mods/public/simulation/components/TerritoryDecay.js
11

CCmpTerritoryManager keeps it as u32

smiley added inline comments.Mon, Nov 19, 7:57 PM
binaries/data/mods/public/simulation/components/TerritoryDecay.js
52

Not sure how this returns the data, probably as an untyped array.