Smaller and faster

- fast math using constant values and no Math functions;
- caching `this` and `array[index]` access for faster loops;
- better minification.