Experiments in code generation for objective functions in continuous optimization