[announcement] fast xml serializer for rails

13 views
Skip to first unread message

Mark Roach

unread,
Mar 9, 2010, 2:34:13 PM3/9/10
to pyactive...@googlegroups.com
Hi, all. I wanted to give folks here a heads-up on a plugin I just uploaded
to github which uses libxml to serialize ActiveRecord objects:

Speed differences I've recorded are around 3x-4x faster than
ActiveRecord::Base#to_xml

http://github.com/mrroach/fast_xml_serializer

Jared Kuolt (Lucky)

unread,
Mar 9, 2010, 2:39:28 PM3/9/10
to pyactive...@googlegroups.com
Awesome! Does it pass the rails 2.3 tests? (I'll look at it in just a bit)

> --
> You received this message because you are subscribed to the Google Groups
> "pyactiveresource" group.
> To post to this group, send email to pyactive...@googlegroups.com.
> To unsubscribe from this group, send email to
> pyactiveresour...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyactiveresource?hl=en.
>

--
Lucky, the tourist
www.luckythetourist.com

Mark Roach

unread,
Mar 9, 2010, 4:22:38 PM3/9/10
to pyactive...@googlegroups.com
Well, it's not a drop-in replacement for to_xml because keeping
complete compatibility would have required keeping some of the
inefficiencies, so it shouldn't affect the rails tests themselves. It
is very similar in usage though.
Reply all
Reply to author
Forward
0 new messages