diff options
author | Jean-Philippe Caruana <jp@barreverte.fr> | 2013-07-25 16:28:34 +0200 |
---|---|---|
committer | Jean-Philippe Caruana <jp@barreverte.fr> | 2013-07-25 16:36:18 +0200 |
commit | 8f364b9a955c1864f22922927d0925be5112ca90 (patch) | |
tree | 085644b3552a3df8a74dfbeb9bfd80eca9e866e4 /sleekxmpp/plugins/xep_0095/__init__.py | |
parent | ee6c5632ac4b61bb5521a0eee09368a6868c0de9 (diff) | |
download | slixmpp-8f364b9a955c1864f22922927d0925be5112ca90.tar.gz slixmpp-8f364b9a955c1864f22922927d0925be5112ca90.tar.bz2 slixmpp-8f364b9a955c1864f22922927d0925be5112ca90.tar.xz slixmpp-8f364b9a955c1864f22922927d0925be5112ca90.zip |
performance in jid : replace __getattr__ et __setattr__ by @property and @xxx.setter
this implementatian is much more verbose but faster, especilally if you are dealing a lot with JIDs
on my box, ./testall.py now takes 45s. It takes 53s in the old implementation (about 15% faster)
Diffstat (limited to 'sleekxmpp/plugins/xep_0095/__init__.py')
0 files changed, 0 insertions, 0 deletions