[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61227] [ruby-trunk - Bug #9570] Something wrong with Enumerator#size ?

From: nagachika00@...
Date: 2014-03-02 16:12:11 UTC
List: ruby-core #61227
Issue #9570 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED

r45187, r45205, r45212 and r45213 were backported to ruby_2_0_0 at r45250.

----------------------------------------
Bug #9570: Something wrong with Enumerator#size ?
https://bugs.ruby-lang.org/issues/9570#change-45575

* Author: 东 许
* Status: Closed
* Priority: Normal
* Assignee: Marc-Andre Lafortune
* Category: core
* Target version: current: 2.2.0
* ruby -v: Ruby 2.0.0-p451
* Backport: 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED
----------------------------------------
enum = 2.step(1, 3)
enum.size  #=> 1

It should be 0, shouldn't it? ( Windows )



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next