Actionscript 3: Faster Integer Math – Bitwise Operators

Several months ago, I stumbled upon a great resource for bitwise operators in AS3. Bitwise math is available in many languages, but this one looks at it from an AS3 perspective.

Since I first discovered that page, I have thought to pull it up a few times and searched Google for it (racking my brain to choose the right key words). By posting it here, I will not only be sharing it with you, but effectively archiving the link where I can access it quickly.

Check it out

It isn’t a tutorial or explanation of bitwise math. It is a list of common operations, paired with their decimal math counterparts. The best part about it is that the author details the change in performance between the two techniques (when used in AS3).

Great stuff!

If you have any bitwise math resource pages you would like to share, post them in the comments.