Open samyakbhuta opened 11 years ago
Have a look at a for loop here at https://github.com/samyakbhuta/gtts/blob/master/project/ss/lang/gu/prepro/PreProcessorImpl.java#L111.
Since, lookup file for preprocessing is relatively small, this loop might not look expensive but as no. of entries in lookup file goes up, we can see it is not the most efficient approach to search and replace.
Have a look at a for loop here at https://github.com/samyakbhuta/gtts/blob/master/project/ss/lang/gu/prepro/PreProcessorImpl.java#L111.
Since, lookup file for preprocessing is relatively small, this loop might not look expensive but as no. of entries in lookup file goes up, we can see it is not the most efficient approach to search and replace.