Improve rgbasm performance