Use a LRU cache for translation strings.
A small check showed an interesting improvement:
CacheInfo(hits=310, misses=107, maxsize=None, currsize=107)
Each time a string was asked, a lot of work was done, including regexp work that are greedy by nature.
- Is referenced in