{"action":"opened","issue":{"url":"https://api.github.com/repos/jtauber/pyuca/issues/7","labels_url":"https://api.github.com/repos/jtauber/pyuca/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jtauber/pyuca/issues/7/comments","events_url":"https://api.github.com/repos/jtauber/pyuca/issues/7/events","html_url":"https://github.com/jtauber/pyuca/issues/7","id":101190251,"number":7,"title":"Can you speed up and reduce memory usage in pyuca?","user":{"login":"ChameleonRed","id":1080880,"avatar_url":"https://avatars.githubusercontent.com/u/1080880?v=3","gravatar_id":"","url":"https://api.github.com/users/ChameleonRed","html_url":"https://github.com/ChameleonRed","followers_url":"https://api.github.com/users/ChameleonRed/followers","following_url":"https://api.github.com/users/ChameleonRed/following{/other_user}","gists_url":"https://api.github.com/users/ChameleonRed/gists{/gist_id}","starred_url":"https://api.github.com/users/ChameleonRed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChameleonRed/subscriptions","organizations_url":"https://api.github.com/users/ChameleonRed/orgs","repos_url":"https://api.github.com/users/ChameleonRed/repos","events_url":"https://api.github.com/users/ChameleonRed/events{/privacy}","received_events_url":"https://api.github.com/users/ChameleonRed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-15T17:06:30Z","updated_at":"2015-08-15T17:06:30Z","closed_at":null,"body":"My profiler show that it is slow for user interactive/web application. Can you reduce also memory usage if it possible.\r\n\r\nSee:\r\n0.000    0.634  __init__.py:9(getUnicodeCollator)\r\n```\r\nimport os\r\nimport pyuca\r\n\r\n__collator = None\r\n```\r\ndef getUnicodeCollator():\r\n  global __collator\r\n  if __collator is None:\r\n    __collator = pyuca.Collator()\r\n  return __collator"}}