Mercurial > pidgin.yaz
annotate PLUGIN_HOWTO @ 22269:0e68dab2a362
Patch from oliver:
In message.c in the escape & unescape functions the loops are not optimal, doing a strlen() for each character in the message string.
valgrind/callgrind identified especially msim_unescape() as a expensive because of that (guess there is more unescaping going on than escaping).
The attached patch moves the strlen() out of the loop header for both functions.
Closes #4790.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sat, 09 Feb 2008 02:22:30 +0000 |
parents | 83ec0b408926 |
children | db5a58aabe38 |
rev | line source |
---|---|
15937 | 1 For information on writing a plugin for Purple, Pidgin or Finch, go |
16176
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15937
diff
changeset
|
2 http://developer.pidgin.im and click on API. From there, see the HOWTOs in the |
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
15937
diff
changeset
|
3 "Related Pages" section. |
14505 | 4 |
5 You can also generate this documentation locally by installing | |
15937 | 6 doxygen and graphviz dot, then running "make docs" in the |
14505 | 7 source tree. The documentation will be in the docs/html directory. |