Export to GitHub

webgl-mjs - issue #8

Squared version...


Posted on Mar 5, 2010 by Helpful Elephant

Hello,

Very good incentive. Finally someone not taking garbage collection lightly.
JS needs any performance boost it can get. But I'm curious about two things:

  1. MJS_VERSION = 0xaabbcc? Wouldn't it be easier for future maintenance to use a simple 1? Just a suggestion based on my experience (mistakes).

  2. V3.lengthSquard... hmmm... yeah... it's good to save 1 byte of memory but V3.lengthSquared is definitely easier to remember.

Not that any of this improves performance, just clarity.

Keep up the good work! Cheers!

Zexx

Comment #1

Posted on Mar 7, 2010 by Helpful Elephant

Please ignore the above "issue". It was based on something I found on the web, obviously very old, and has nothing to do with the current version.

Zexx

Status: New

Labels:
Type-Defect Priority-Medium