[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69716] Re: [Ruby trunk - Feature #11299] [PATCH] use Array instead of custom struct for generic ivars
From:
Eric Wong <normalperson@...>
Date:
2015-06-24 00:20:10 UTC
List:
ruby-core #69716
ko1@atdot.net wrote:
> I'm weakly against this proposal because it will consumes more objects
> and increase GC pressure.
Existing code with xrealloc still has GC pressure, too.
> I don't think it is valuable compare with reducing binary size by 1KB.
Right, binary size is minor, but I'm happy with the LoC reduction.
>
> ```ruby
> - if (FL_ABLE(obj)) RB_OBJ_WRITTEN(obj, Qundef, val);
> + if (FL_ABLE(obj)) RB_OBJ_WRITTEN(obj, Qundef, ivup.u.ivtbl);
> ```
> Can obj which is !FL_ABLE(obj) be here?
Seems not. I missed that check in r50758
("variable.c: remove generic ivar support for special constants")
Will remove separately.