pyuca icon indicating copy to clipboard operation
pyuca copied to clipboard

Can you speed up and reduce memory usage in pyuca?

Open ChameleonRed opened this issue 8 years ago • 1 comments

My profiler show that it is slow for user interactive/web application. Can you reduce also memory usage if it possible.

See: 0.000 0.634 init.py:9(getUnicodeCollator)

import os
import pyuca

__collator = None

def getUnicodeCollator(): global __collator if __collator is None: __collator = pyuca.Collator() return __collator

ChameleonRed avatar Aug 15 '15 17:08 ChameleonRed

Python 2.7 / Google App Engine - I will check collation speed later - want to reduce this time 10x times.

ChameleonRed avatar Aug 15 '15 17:08 ChameleonRed