summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0115/stanza.py
diff options
context:
space:
mode:
authorJean-Philippe Caruana <jp@barreverte.fr>2013-07-25 16:28:34 +0200
committerJean-Philippe Caruana <jp@barreverte.fr>2013-07-25 16:36:18 +0200
commit8f364b9a955c1864f22922927d0925be5112ca90 (patch)
tree085644b3552a3df8a74dfbeb9bfd80eca9e866e4 /sleekxmpp/plugins/xep_0115/stanza.py
parentee6c5632ac4b61bb5521a0eee09368a6868c0de9 (diff)
downloadslixmpp-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_0115/stanza.py')
0 files changed, 0 insertions, 0 deletions