Closed Bug 488418 Opened 15 years ago Closed 15 years ago

Simplify kinetic averaging code

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Create the average during the first loop. Using the Array.reduce method means we loop 2 additional times.
Attachment #372780 - Flags: review?(pavlov)
Attached patch patch 1Splinter Review
Same, but with 1 less typo (thanks gavin)
Assignee: nobody → mark.finkle
Attachment #372780 - Attachment is obsolete: true
Attachment #372781 - Flags: review?(pavlov)
Attachment #372780 - Flags: review?(pavlov)
Attachment #372781 - Flags: review?(pavlov) → review+
http://hg.mozilla.org/mobile-browser/rev/f5ad5b2f15cb
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: