Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In dataminmax(), Chrome was taking either 35ms ... or 7+ seconds to f…
…ind the min/max on a 2048x2048 int image (casa.fits in js9debug.html). We optimized: 1. assign data[i] to val instead of accessing data[i] more than once 2. use direct min/max compare instead of Math.min() and Math.max 3. use local params instead of this.raw, this.params, this.raw.data (Also, move js9Readme.png into images directory)
- Loading branch information