Move intra-line diff computation off the UI thread