Reusing the string used up for the word inside `for word in line.split():` is 
rather easy to do and can be a stdlib patch. It's not hard and Nim's strings 
are awesome because allocations are expensive and mutability helps for re-using 
memory aggressively.

Reply via email to