web developer & system programmer

coder . cl

ramblings and rants on software development...


Print Article R -a +A

[ann] pyxser-1.5.1r was released

by Daniel Molina Wegener on 2010.10.11
posted in: c, development, programming, projects, python, pyxser

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.5.1r. This release includes a new argument for deserialization functions, so you can skip the initialization construct by using cinit = False as argument, this improves performance, but leaves uninitiated objects, without calling its default constructor.

[ann] pyxser-1.5r is available

by Daniel Molina Wegener on 2010.08.24
posted in: c, development, programming, projects, python, pyxser, tips

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.5r. This release has several bug fixes plus enhancements. pyxser now is 15% faster and do not have memory leaks. For people who do know pyxser, it is a Python Object to XML serializer and deserializer. You install pyxser, and you will have functions to convert Python Objects into XML and viceversa, convert that XML back into a Python Object.

comparing pyxser & .net serialization

by Daniel Molina Wegener on 2010.08.17
posted in: development, programming, projects, python, pyxser

Did you know about the InvalidOperationException on the System namespace on .NET?. Specifically, what happens on .NET serializations with cross referenced or circular referenced objects in .NET?. Object Oriented programming is complex, and objects can hold complex structures, including those kind of object references, but in .NET you have prohibited to use that kind of object references, cross and circular ones, if you want to serialize an object. Instead of prohibition, pyxser — my Python-Object to XML serializer — allows you to create that kind of references, preserving its original reference across the serialization and deserialization process.

pyxser profiling

by Daniel Molina Wegener on 2010.08.07
posted in: c, programming, projects, python, pyxser

Today I was enhancing pyxser, and I’ve reduced some memory usage and enhanced its performance. I’ve reduced some functions to use less instructions and gained a little bit of better performance. But seems that still is using a large amount of dictionaries. or leaving them in memory until the test is finished. Also, I’ve modified the profiling script, to run 1000 times each function. The enhancements looks promising…

[ann] pyxser-1.4.6r released

by Daniel Molina Wegener on 2010.08.03
posted in: c, programming, projects, python, pyxser

pyxser is a Python extension which holds functions to serialize and deserialize Python objects into XML. It’s one of my FOSS projects. Some characteristics of of this serializer are the fact that it can serialize objects with circular references and cross referenced objects — try to serialize an object with circular references in .NET. Other facts is that it uses an O(n) algorithm, with n equal to the number of objects and not their references in the object tree. Today I’ve released pyxser-1.4.6r, let me show what I’ve done…