[#71439] [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API — matz@...
Issue #11339 has been updated by Yukihiro Matsumoto.
7 messages
2015/11/11
[#71473] Re: [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API
— Eric Wong <normalperson@...>
2015/11/13
Entire series for sockets
[#71450] Ruby 2.3.0-preview1 Released — "NARUSE, Yui" <naruse@...>
Hi,
5 messages
2015/11/11
[#71617] [Ruby trunk - Feature #11664] [PATCH] introduce rb_autoload_value to replace rb_autoload — nobu@...
Issue #11664 has been updated by Nobuyoshi Nakada.
3 messages
2015/11/20
[#71721] [Ruby trunk - Feature #11741] Migrate Ruby to Git from Subversion — me@...
Issue #11741 has been updated by Jon Moss.
4 messages
2015/11/28
[ruby-core:71706] [Ruby trunk - Feature #11745] saving bits
From:
hanmac@...
Date:
2015-11-27 12:31:48 UTC
List:
ruby-core #71706
Issue #11745 has been updated by Hans Mackowiak. dam i wanted to make a request to add a #[]= method similar to the #[] one, until i noticed that Bignum like others are fixed, so thats not so easily possible ... but you can wrote a wrapper class that does have #[] and #[]= and store the bigflag data in a Bignum. ---------------------------------------- Feature #11745: saving bits https://bugs.ruby-lang.org/issues/11745#change-55111 * Author: Eike Dierks * Status: Closed * Priority: Normal * Assignee: ---------------------------------------- Hi at the ruby team, Sometimes we are still working with bits: these yes/no things. But even a bit is an object, this is ruby! I'm not even sure how bits are save in mri, I believe they are all objects (which is good) I believe they should be fly weights, and we should save bits one by one, instead of wasting a full full object for every bit. (sorry if it already works this way) I'd like to sugest an optimization for the mri, that a boolean object should be saved in one bit. This obviously needs a lot of changes underneath. (which might not be worth it in the end) I coming from this rails stuff. who cares about the bits ... we're spendig gigs of ram anyway. but then again, thinking of the bit. I sometimes feel like saving a bit should take less memory. I could imagine to make a special rule for bit objects, to save them more efficiently. (please look this up at smalltalk, they did it there as well) -- https://bugs.ruby-lang.org/