Ksh keeps a history file. It keeps growing. As far as I can see, ksh never truncates the file. It slows down linearly as the file grows. You want to remove the file now and then.