Free speed-up via Class::XSAccessor

1 view
Skip to first unread message

John Siracusa

unread,
Jan 22, 2009, 12:20:36 PM1/22/09
to Rose::DB::Object
I just uploaded a new version of Rose::Object (0.855) that can use
Class::XSAccessor behind the scenes to make simple ("get_set") scalar
attributes. If you install this new Rose::Object and
Class::XSAccessor 0.14 or later, you will see a small increase in
accessor speed in all existing code that uses Rose::Object and simple
scalar attributes. (Pretty much all Rose::* classes use Rose::Object,
including Rose::DB::Object and Rose::HTML::Objects.)

(Note that Class::XSAccessor is not a prerequisite for the new
Rose::Object. It'll just be used if it's present. If not,
Rose::Object will fall back to pure Perl.)

-John

Reply all
Reply to author
Forward
0 new messages