optimizations guided by profile 7706238