Summary | Big CPU usage with base64 encoding |
Queue | gloox |
Queue Version | 0.9.9.5 |
Type | Bug |
State | Unconfirmed |
Priority | 1. Low |
Owners | |
Requester | hanzz.k (at) gmail (dot) com |
Created | 02/08/2009 (5417 days ago) |
Due | |
Updated | 02/08/2009 (5417 days ago) |
Assigned | |
Resolved |
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Big CPU usage with base64 encoding
Queue ⇒ gloox
New Attachment: base64.cpp
I'm making jabber transport which was using base64 class from gloox.
Problem is that gloox base64 class is not very well coded and has very
big cpu usage. Fro example adding chars to std::string by append
function is not so fast :). I have written only encode function,
because I just need to encode avatars from legacy network to jabber.
Feel free to use this one or write something like this :).