Example: Matrix Multiplication
- updates the display incrementally.
- results in a noticable pause (3s on WebKit, Core 2 Duo 2.2 GHz).
- is very
slow due to a
setTimeout
on every iteration. Arrowlets insert asetTimeout
only once every 30 milliseconds (by default). - Represent matrices as / .
- ;
Note: If you use Firebug (< v1.2), you may want to disable it as it slows down JavaScript tremendously.
matrix[0] | matrix[1] | matrix[2] | ||
---|---|---|---|---|
× | = |