[#70252] Re: [ruby-cvs:58640] nobu:r51492 (trunk): node.c: NODE_ALLOCA for ALLOCV — Eric Wong <normalperson@...>
Besides possible backwards compatibility, can we drop volatile
3 messages
2015/08/05
[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...
Issue #11420 has been reported by Koichi Sasada.
11 messages
2015/08/06
[#70337] Re: [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI
— Eric Wong <normalperson@...>
2015/08/11
Nice. Thank you guys for looking into this.
[#70349] Re: [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI
— Eric Wong <normalperson@...>
2015/08/12
Btw, did you consider using flexible array to avoid extra malloc
[#70355] Re: [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI
— Юрий Соколов <funny.falcon@...>
2015/08/12
I thought to suggest to embed hash_id_table directly into places when it is
[#70356] Re: [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI
— SASADA Koichi <ko1@...>
2015/08/12
On 2015/08/13 4:29, Юрий Соколов wrote:
[#70358] Re: [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI
— Eric Wong <normalperson@...>
2015/08/12
SASADA Koichi <ko1@atdot.net> wrote:
[#70509] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — ko1@...
Issue #11276 has been updated by Koichi Sasada.
3 messages
2015/08/21
[#70639] the undefined behavior of an iterator if it is modified inside of the block to which it yields — Daniel Doubrovkine <dblock@...>
(this is my first time e-mailing list list, so apologies for any misstep :)
4 messages
2015/08/31
[ruby-core:70594] [Ruby trunk - Bug #11488] String#index and #include? broken for wide encodings
From:
nagachika00@...
Date:
2015-08-26 06:40:54 UTC
List:
ruby-core #70594
Issue #11488 has been updated by Tomoyuki Chikanaga.
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: REQUIRED
This is introduced at r51470 for #11413 and it's backported into `ruby_2_1` and `ruby_2_2`.
----------------------------------------
Bug #11488: String#index and #include? broken for wide encodings
https://bugs.ruby-lang.org/issues/11488#change-54003
* Author: Tom Stuart
* Status: Closed
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
* Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
In Ruby 2.2.2, `String#index` and `#include?` work as expected for all encodings:
~~~
>> Encoding.list.reject(&:dummy?).
reject { |e| 'abcdef'.encode(e).include?('def'.encode(e)) }.
map(&:name)
=> []
~~~
But in Ruby 2.2.3 and trunk, they have become broken for wide encodings:
~~~
>> Encoding.list.reject(&:dummy?).
reject { |e| 'abcdef'.encode(e).include?('def'.encode(e)) }.
map(&:name)
=> ["UTF-16BE", "UTF-16LE", "UTF-32BE", "UTF-32LE"]
~~~
This broke as a result of revision 51470 (trunk) / 51590 (2.2.3). I attach a test.
---Files--------------------------------
string-index-include-wide-bug.patch (1.18 KB)
--
https://bugs.ruby-lang.org/