[#75687] [Ruby trunk Bug#12416] struct rb_id_table lacks mark function — shyouhei@...
Issue #12416 has been reported by Shyouhei Urabe.
3 messages
2016/05/23
[#75763] [Ruby trunk Feature#12435] Using connect_nonblock to open TCP connections in Net::HTTP#connect — mohamed.m.m.hafez@...
Issue #12435 has been reported by Mohamed Hafez.
3 messages
2016/05/28
[#75774] Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock — Mohamed Hafez <mohamed.m.m.hafez@...>
Hi all, every now and then in my production server, I'm
4 messages
2016/05/30
[#75775] Re: Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock
— Mohamed Hafez <mohamed.m.m.hafez@...>
2016/05/30
Or does MRI's OpenSSL::SSL::SSLSocket#connect_nonblock just return
[#75782] Important: Somewhat backwards-incompatible change (Fwd: [ruby-cvs:62388] duerst:r55225 (trunk): * string.c: Activate full Unicode case mapping for UTF-8) — Martin J. Dürst <duerst@...>
With the change below, I have activated full Unicode case mapping for
4 messages
2016/05/31
[ruby-core:75640] [Ruby trunk Feature#12403] Optimise Regexp#match?
From:
nobu@...
Date:
2016-05-20 12:47:07 UTC
List:
ruby-core #75640
Issue #12403 has been updated by Nobuyoshi Nakada.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12403-optimize-Regexp%23match_p
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name |normal |opt
----------------------------|------:|------:
regexp_match_p_match_empty | 0.141| 0.111
regexp_match_p_match_long | 3.941| 3.864
regexp_match_p_match_short | 0.138| 0.099
regexp_match_p_unmatch_long | 3.848| 3.837
regexp_match_p_unmatch_short| 0.103| 0.079
Speedup ratio: compare with the result of `normal' (greater is better)
name |opt
----------------------------|------:
regexp_match_p_match_empty | 1.266
regexp_match_p_match_long | 1.020
regexp_match_p_match_short | 1.388
regexp_match_p_unmatch_long | 1.003
regexp_match_p_unmatch_short| 1.306
----------------------------------------
Feature #12403: Optimise Regexp#match?
https://bugs.ruby-lang.org/issues/12403#change-58771
* Author: Sam Saffron
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
At the moment `#match?` is dynamically dispatched and args are walked.
Instead
- Add 2 insns instructions for #match? with 1 param and #match? with 2 params
- Amend parser to route #match?("s") and #match?("s", 1) to insns version
Main reason for `#match?` is performance, might as well make it as fast as possible.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>