Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Yasu Imao
Hi Laurent, I filed a ticket on String#gsub performance. While I was playing with regex, I noticed another difference(?) between Ruby 1.8.7 and MacRuby. In Ruby Regexp class, fixnums assigned to Regexp.new options are different with Ruby 1.8.7 and with MacRuby Ruby 1.8.7 p Regexp::IGNORECA

Re: [MacRuby-devel] converging for 1.0

2010-12-02 Thread Matt Aimonetti
I talked with Laurent and he had the same concerns you raised, we need more feedback from users to make sure the tools are what people need and they are in use. Who's using minitest addons? What do you guys think, can we get a community feedback please? Thanks, - Matt On Thu, Dec 2, 2010 at 5:0

Re: [MacRuby-devel] converging for 1.0

2010-12-02 Thread Ryan Davis
On Dec 1, 2010, at 07:29 , Matt Aimonetti wrote: > Come on people svn isn't that bad, most of us used it for years and might > still use it ;) > However, if you are a git addict, you have 3 options: > * use the github mirror (we'll do the svn patching ourselves) > * use the macosforge git repo

Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Laurent Sansonetti
Hi Yasu, On Dec 2, 2010, at 5:20 AM, Yasu Imao wrote: > Hi Laurent, > > Thank you for your prompt work. I tried the latest nightly build and it's > much faster than 0.7.1. The Test 1 and Test 2 are only 2 - 2.5 times slower > than those on Ruby 1.8.7 and Test 3 is about 5 times slower. And

Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Laurent Sansonetti
On Dec 2, 2010, at 8:45 AM, Caio Chassot wrote: > On 2010-12-01, at 20:15 , Laurent Sansonetti wrote: >> >> MacRuby is using ICU. I'm not aware of ICU's internals, but I suspect the >> performance issue is probably elsewhere here, given the huge difference >> against 1.8. >> > > I know we've

Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Matt Aimonetti
I know I'm not responding to your question but it's important to note that Oniguruma isn't thread safe and if you were to do that you would have to deal with a lot of weird bugs. On a different note, no I don't think it would be remotely trivial but Vincent or Laurent can confirm. - Matt On Thu,

Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Caio Chassot
On 2010-12-01, at 20:15 , Laurent Sansonetti wrote: > > MacRuby is using ICU. I'm not aware of ICU's internals, but I suspect the > performance issue is probably elsewhere here, given the huge difference > against 1.8. > I know we've talked about this before and you found ICU and Oniguruma to

Re: [MacRuby-devel] Getting a pointer to a boxed type

2010-12-02 Thread Mark Rada
Yup, that works! Thanks, Laurent! On 2010-12-02, at 1:39 AM, Laurent Sansonetti wrote: > Hi Mark, > > I think the following would work: > > value = valueOfAttribute attribute > point_ptr = Pointer.new(CGPoint.type) > AXValueGetValue( value, KAXValueCGPointType, point_ptr )

Re: [MacRuby-devel] Regular expression related performance

2010-12-02 Thread Yasu Imao
Hi Laurent, Thank you for your prompt work. I tried the latest nightly build and it's much faster than 0.7.1. The Test 1 and Test 2 are only 2 - 2.5 times slower than those on Ruby 1.8.7 and Test 3 is about 5 times slower. And I tried my app on this nightly build. Now I can say MacRuby vers