Optimize performance on Windows Mobile