Byte compilation and other speed enhancements