From: msergeant@... (Matt Sergeant) Date: 2002-02-14T18:58:48+09:00 Subject: Re: XML::SAX2 critique TAKAHASHI Masayoshi wrote in message news:<20020214022409G.maki@rubycolor.org>... > Hello, > > msergeant@star.net.uk (Matt Sergeant) wrote: > > > In addition, creating objects need cost. Yes, this cost is > > > not so expensive, and Ruby usually pays many many cost :-) > > > > Well I guess I'd like to see this benchmarked. > > I made rough test XML::SAX2 with REXML and XMLParser. > Creating object API version seems to be about 10% slower than > not-creating object (java-like) API version. > > It's too slow? or it's reasonable cost to make API simple and clean? Seems like a good tradeoff to me. I wish that Perl only slowed down that much! ;-) Matt.