Optimising code generation with haggies
scientific article