From: Brent Roman Date: 2008-01-01T01:45:34+09:00 Subject: Re: multibyte strings & bucket-of-bytes efficiency under 1.9.0 Martin, Thanks for answering my questions. I am not internationalization expert by any means. This background helps. When I said I observed a 5% slowdown, I was referring to the application as a whole. Given that most things in 1.9 are two to three times faster and that my application is not just an artificial string benchmark, if we assume its string operations are responsible for the performance degradation, it follows logically that those operations are much slower, not merely 5%. I will try to isolate the problem to an artificial string benchmark in the coming week... - brent Martin Duerst wrote: > > At 06:20 07/12/29, Brent Roman wrote: >> >>The first application I benchmarked on 1.9 was a logger that did >>a lot of "bucket of bytes" type string manipulations. The whole >>app ended up running 5% slower under 1.9 than it did under 1.8.6. >>I'd been suspecting the encoded strings were largely responsible >>for this. > > 5% seems quite reasonable for what's going on under the hood, > and I hope tolerable for the new functionality that's now > available. > >>Your experience seems to confirm this. > > 5% performance loss, and a performance of just 8% of the previous > speed, are completely different ballparks, very likely with > widely different reasons. > > -- View this message in context: http://www.nabble.com/multibyte-strings---bucket-of-bytes-efficiency-under-1.9.0-tp14528798p14559493.html Sent from the ruby-core mailing list archive at Nabble.com.