Optimized code with entry point coded