Source code optimization