Static compilation for performance