Ticket #3633 (closed enhancement: duplicate)
C based domish.Element serializer
| Reported by: | jack | Owned by: | jack |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | words | Keywords: | xish domish xml xmpp |
| Cc: | ralphm, exarkun, twonds | Branch: | |
| Author: | Launchpad Bug: |
Description
For most XMPP applications, XML serialization is the bottleneck. While #2477 improves the Python serializer quite a bit, this can be made faster by dropping down to C.
I've written a Python c module called cserialize which serializes domish.Element objects. This module is compatible with domish and passes most tests. It gives slightly more than a factor of 2 performance increase over the code in #2477.
The failing tests have to do with namespace issues, and after investigating the code, I believe the tests are wrong and need to be rewritten. I haven't rewritten them as I wanted to discuss it first.
You can find the cserialize code here: http://github.com/metajack/cserialize
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

