Using Enumerations in for-each statements - five times faster than the JRE, without RAM limitations