Open tdclemens opened 11 years ago
Right now, the position is calculated for each word by iterating through the list of character positions and doing math.
Improve that algorithm by keeping track of the position of the last word so that the calculation does have to start from the beginning.
Right now, the position is calculated for each word by iterating through the list of character positions and doing math.
Improve that algorithm by keeping track of the position of the last word so that the calculation does have to start from the beginning.