Add test to make sure we don't regress Connection::encode
Override Connection::encode
profile calls to native/override functions
move measurement of natives/overrides to Instrument
Merge pull request #333 from mykmelez/profile-alts

profile calls to native/override functions
Use TypedArray::set in unchecked_*_arraycopy instead of for loop
Merge pull request #330 from mcav/strings

Override slow java.lang.String methods.
Merge pull request #336 from marco-c/unchecked_arraycopy

Use TypedArray::set in unchecked_*_arraycopy instead of for loop
Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_Connection_encode
Use regexp instead of for loop
Implement a virtual method cache to reduce the cost of invokevirtual and invokeinterface
Minor cleanup
Store the key lazily in methodInfo and pass the key to getMethod
Remove unused argument from getMethod
Store 1 or 0 in the key according to whether the method is static or not
Don't call getMethod if the method is already in the virtual method cache
Merge pull request #329 from marco-c/optimize_Connection_encode

Optimize Connection::encode
Merge pull request #337 from marco-c/vmc

Implement a virtual method cache
override drawRegion to do renderRegion's work itself
Override ResourceInputStream::read() and ResourceInputStream::available() instead of implementing the natives they call