Activity
From 03/04/2016 to 03/10/2016
03/10/2016
-
08:00 PM Bug #12167 (Closed): Backport r54025 (Avoid false positive in an IMAP test)
- This is a ticket to back-port r54025 to 2.3.
-
07:46 PM Bug #12166 (Closed): Backport r54073 (AIX does not set MSG_TRUC for recvmsg(2) with MSG_PEEK)
- This is a ticket to back-port r54073 to 2.3.
-
06:00 PM Feature #12165 (Open): Hash#first, Hash#last
- Just run into a simple problem with a colleague and was wondering why there is no Hash#last method?
~~~ruby
{a: t... -
02:04 PM Bug #12164: Binding UnboundMethod to BasicObject
- Nobuyoshi Nakada wrote:
> Yes.
Thank you! Well... a feature?
-
01:16 PM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
- Yes.
-
11:22 AM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
- I tried to bind method from Object to BasicObject and I suddenly succeeded.
For example:
```
$ irb
2.3.0 :001 ... -
09:41 AM Feature #12110: Create a method to avoid vacuous truth?
- Martin Dürst wrote:
> But this isn't so much because that's how natural language works.
That is how natural langu... -
09:06 AM Feature #12110: Create a method to avoid vacuous truth?
- Tsuyoshi Sawada wrote:
> In natural language, universal quantification carries a presupposition that the domain is... -
07:24 AM Feature #12110: Create a method to avoid vacuous truth?
- Thanks Martin and Tsuyoshi,
Yes, all of this makes sense when you just look at it the right way.
Otherwise this... -
06:59 AM Feature #12157: Is the option hash necessary for future Rubys?
- **Edited:**
_Tsuyoshi Sawada_: how do you feel about those edge cases dealing with the double splat? Do you know of ... -
05:58 AM Feature #12157: Is the option hash necessary for future Rubys?
- Note that optional hash is not just for arguments in method call. It is also used for arrays, for example:
["a... -
04:10 AM Feature #12160: Extract XMLRPC library to bundled gem
- As the lib/xmlrpc maintainer, I missed these issues. Sorry and thanks for handling them.
I handled issues I notice... -
12:07 AM Bug #12022: Inconsistent behavior with splatted named arguments
- _NOTE_: I did find a "cleaner" way to do the decorator mentioned in the **Further Information** section, but it uses ...
03/09/2016
-
11:56 PM Feature #12157: Is the option hash necessary for future Rubys?
- # Examples
Currently Ruby has syntactic sugar to make passing a Hash as a final argument prettier. Consider the fo... -
09:49 PM Feature #12157: Is the option hash necessary for future Rubys?
- An option hash is just an optional argument with a default value of the empty hash. You can't really remove options h...
-
09:25 PM Feature #12157: Is the option hash necessary for future Rubys?
- Sorry, I accidentally marked this as a bug. Moving it to features.
-
10:25 PM Feature #11997: A method to read a file with interpolations
- As far as implementation, `File.eval` doesn't feel right since you may want any `IO` object—or any object with `#read...
-
09:49 PM Feature #11997: A method to read a file with interpolations
- ~~I agree that ERB is ugly for a lot of cases, but—since there is a one liner to write this in Ruby—I don't think it ...
-
09:41 PM Feature #12084: `Class#instance`
- This feature would solve a lot of problems I had while doing what should have been simple meta-programming (if there ...
-
07:39 PM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
- Installation output for redmine 3.2.0:
[root@localhost redmine]# /usr/local/bin/bundle install --without developmen... -
03:25 PM Bug #12054: Remove block from Logger.add as it's not needed
- r53790 and r53844 were backported into `ruby_2_2` branch at r54072.
-
03:21 PM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
- r51006 and r53784 were backported into `ruby_2_2` branch at r54071.
-
03:15 PM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
- Backported into `ruby_2_2` branch at r54070.
-
03:05 PM Bug #12162 (Third Party's Issue): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
- When trying to read previously created OpenSSL::PKCS7 object, it fails with 'nested asn.1 error'. Seems like object i...
-
02:01 PM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
- Backported into `ruby_2_2` branch at r54069.
-
01:59 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
- Backported into `ruby_2_2` branch at r54068.
-
01:46 PM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
- Backported into `ruby_2_2` branch at r54067.
-
12:42 PM Feature #12161 (Closed): Friendly BigDecimal#inspect
- Can BigDecimal's #inspect be more human-friendly? Even just `#<BigDecimal:b7ea1130,1234.5678,8(12)>` instead of `#<Bi...
-
09:24 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
- Updating my patch, because it breaks such code:
~~~ruby
def errinfo
$!
end
RubyVM::InstructionSequence.compi... -
06:09 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
- XMLRPC library is no longer maintain actively.
I removed broken parsers in Mar. 2016. This issue opend at 2014.
N... -
01:43 AM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
- Usaku NAKAMURA wrote:
> I guess that it's intentional.
> `absolute_path` guarantees to contain the absolute path, b... -
01:40 AM Bug #12159 (Assigned): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
- I guess that it's intentional.
`absolute_path` guarantees to contain the absolute path, but `path` does not guarante... -
01:27 AM Bug #12159 (Closed): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
- I expected that Thread::Backtrace::Location#path always returns base filename, but returns absolute path for files lo...
-
01:16 AM Bug #12156 (Assigned): TckImage.new broken after r53077 (2.3, trunk)
03/08/2016
-
08:29 PM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
>
> What is missing in the above calculations is the probability of collisions for *the ... -
08:15 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> > I don't like lists (through pointer or indexes). This is a disperse data structure hurting l... -
05:39 PM Feature #12142: Hash tables with open addressing
- > I don't like lists (through pointer or indexes). This is a disperse data structure hurting locality and performance...
-
04:01 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> I think, if your intention were to reduce table size when elements counts decreased, then you ... -
03:49 AM Feature #12142: Hash tables with open addressing
- I think, if your intention were to reduce table size when elements counts decreased, then you have error here:
https... -
02:16 AM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
> *Still the community should decide about 32-bit hashes and indexes* because it is an im... -
08:28 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
- r51016(partially) and r53329 were backported into `ruby_2_2` branch at r54045.
-
08:12 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
- rr54041 was reverted at r54044 because r54041 breaks some openssl tests.
-
07:14 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
- Backported into `ruby_2_2` branch at r54041.
`ruby_2_2` branch also requires the same patch with r53932. -
07:46 PM Bug #11898: backport r53346-r53349
- r53346, r53347, r53348, r53349, r53391 and r53928 were backported into `ruby_2_2` branch at r54043.
-
07:19 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- Backported into `ruby_2_2` branch at r54042.
-
07:03 PM Bug #11870: Eradication of typical misspellings
- Backported into `ruby_2_2` branch at r54040.
-
06:52 PM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
- Backported into `ruby_2_2` branch at r54039.
-
06:50 PM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
- r52605, r53231 and r53244 were backported into `ruby_2_2` branch at r54038.
-
06:35 PM Bug #11825: MatchData#names returns ASCII-8BIT
- Backported into `ruby_2_2` branch at r54036.
-
02:25 PM Feature #2567: Net::HTTP does not handle encoding correctly
- Hello,
I'm gonna give my 50 cents:
~~~
class Net::HTTPResponse
def read_body(dest = nil, &block)
if @r... -
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
- Applied in changeset r54028.
----------
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12... -
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
- ```
% ruby -ve'p 12345 % 0'
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
-e:1:in `<main>': divide... -
08:01 AM Bug #12147 (Rejected): Time::local returns incorrect ending of US DST
-
01:14 AM Bug #12147 (Closed): Time::local returns incorrect ending of US DST
- Ryan Mitchell wrote:
> So this isn't a bug per se and I'm happy to have it closed.
-
05:16 AM Feature #12157 (Closed): Is the option hash necessary for future Rubys?
- Option hashes were great before Ruby had named arguments, but with the addition of named arguments and the double spl...
-
04:59 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
- #12022 has some further exploration of this bug.
-
04:32 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
- The inconsistency is even more serious. See #11860.
-
02:26 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
- Adding to this, the current behavior results in the following inconsistent behavior: I can call an argless method usi...
-
04:32 AM Bug #11860: Double splat does not work on empty hash assigned via variable
- This bug is related to #10708.
-
02:23 AM Bug #12156 (Rejected): TckImage.new broken after r53077 (2.3, trunk)
- This simple test program fails with ruby2.3, but worked in previous versions:
```
require 'tk'
require 'tkextlib...
03/07/2016
-
09:49 PM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
>
> Here are the results on 4.2GHz i7-4970K for 64- and 32-bit indexes and hashes on your ... -
08:02 PM Feature #12142: Hash tables with open addressing
- Koichi Sasada wrote:
> On 2016/03/07 14:17, [email protected] wrote:
> > (WIP is definitely OK with me.) Let ... -
07:52 PM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
>
> It is still possible to work with about 2^31 elements on 128GB machine if we create ta... -
07:44 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Vladimir, you may borrow ideas from my patch.
Thank you, Yura. I definitely investigate th... -
07:51 AM Feature #12142: Hash tables with open addressing
- On 2016/03/07 14:17, [email protected] wrote:
> (WIP is definitely OK with me.) Let me think of a more realist... -
06:35 AM Feature #12142: Hash tables with open addressing
- Vladimir, you may borrow ideas from my patch.
-
06:02 AM Feature #12142: Hash tables with open addressing
- On 2016/03/07 14:42, [email protected] wrote:
> `make benchmark-each ITEM=bm_hash OPTS='-r 3 -v' COMPARE_RUBY=... -
05:55 AM Feature #12142: Hash tables with open addressing
- Benchmark certainly misses creation of many-many small hashes, where packed representation shines:
````
$ # Trunk... -
05:42 AM Feature #12142: Hash tables with open addressing
- First:
`make benchmark-each ITEM=bm_hash OPTS='-r 3 -v' COMPARE_RUBY='<trunk ruby>'` is broken :-(
it shows speed... -
05:17 AM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
> I don't think it is a leak. What you measure is the maximal residential size. I think th... -
02:41 AM Feature #12142: Hash tables with open addressing
- Koichi Sasada wrote:
> On 2016/03/05 1:31, [email protected] wrote:
> > So the packed element approach could be ... -
02:35 AM Feature #12142: Hash tables with open addressing
- Koichi Sasada wrote:
> On 2016/03/07 3:37, [email protected] wrote:
> > I don't think it is a leak. What you me... -
01:05 AM Feature #12142: Hash tables with open addressing
- http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/util/HashMap.java?av=f#406
http... -
09:06 PM Bug #12155 (Closed): Backport r47837 (AIX does not allow getsid(pid) when pid is in a different session)
- This is a ticket to back-port r47837 to 2.1.
-
09:03 PM Bug #12147: Time::local returns incorrect ending of US DST
- Right, if you need the first instance (Daylight Savings Time, not Standard Time) of 01:00 you have to do one of these...
-
06:42 PM Bug #12147: Time::local returns incorrect ending of US DST
- Edit: a coworker pointed out to me that because on Nov 6th 2016 there are actually two instances of 1:00 AM, Time::lo...
-
04:27 AM Bug #12147 (Rejected): Time::local returns incorrect ending of US DST
- In 2016, US Daylight Saving Time ends at 2:00 AM on November 6. In the America/Los_Angeles timezone, this means going...
-
09:02 PM Bug #12154 (Closed): Backport r54010 (avoid a setgid test on AIX)
- This is a ticket to back-port r54010 to 2.1, 2.2, and 2.3.
-
08:47 PM Bug #12153 (Closed): Backport r54003 (nextafter(3) on AIX is broken with +0.0 and -0.0 arguments)
- This is a ticket to back-port r54003 to 2.2 and 2.3.
-
08:37 PM Bug #12152 (Closed): Backport r54004 (the fifth argument to getsockopt(2) is not modified correctly on return in AIX)
- This is a ticket to back-port r54004 to 2.1, 2.2, and 2.3. Back-port of the change in test/socket/test_sockopt.rb not...
-
08:17 PM Bug #12151 (Closed): Backport r54002 (zconf.h in zlib does not recognize _LARGE_FILES in AIX)
- This is a ticket to back-port r54002 to 2.1, 2.2, and 2.3.
-
07:59 PM Bug #12150 (Closed): Backport r54005 (ipv6_v4compat? and ipv6_v4mapped? are broken on AIX)
- This is a ticket to back-port r54005 to 2.1, 2.2, and 2.3.
-
07:40 PM Bug #12149 (Closed): Backport r51930 (test_s_open_lock hangs on AIX)
- This is a ticket to back-port r51930 to 2.1 and 2.2 (not to 2.3).
-
06:47 PM Bug #12148 (Closed): Backport r54000 (__pi_stacksize returned by pthread_getthrds_np() is wrong on AIX)
- This is a ticket to back-port r54000 to 2.1, 2.2, and 2.3.
-
03:29 PM Bug #11893 (Closed): Ruby keyword typo in Tk (require)
- Applied in changeset r54022.
----------
* ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[rub... -
03:26 PM Bug #11891 (Closed): Initializer method name typo in Tk
- Applied in changeset r54021.
----------
* ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:... -
03:23 PM Bug #11890 (Closed): Initializer method name typo in Tk
- Applied in changeset r54020.
----------
* ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [... -
03:16 PM Bug #11886 (Closed): Font name typo in Tk library and samples
- Applied in changeset r54018.
----------
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bu... -
04:53 AM Feature #12134: Comparison between `true` and `false`
- Tsuyoshi Sawada wrote:
> Please do not confuse this with the common proposal to map booleans to integers, particul...
03/06/2016
-
07:31 PM Feature #12142: Hash tables with open addressing
- On 2016/03/05 1:31, [email protected] wrote:
> So the packed element approach could be implemented too for the pr... -
07:01 PM Feature #12142: Hash tables with open addressing
- On 2016/03/07 3:37, [email protected] wrote:
> I don't think it is a leak. What you measure is the maximal resid... -
06:37 PM Feature #12142: Hash tables with open addressing
- Shyouhei Urabe wrote:
> Very impressive work. I'm excited to see your patch boosting ruby.
>
Thanks.
> Almo... -
03:01 PM Feature #12142: Hash tables with open addressing
- Very impressive work. I'm excited to see your patch boosting ruby.
Almost everything I thought was already said b... -
02:28 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> 7 minutes for filling 100_000_000 table (Int=>Int).
> Pretending time grows lineary, 140 minu... -
08:24 AM Feature #12142: Hash tables with open addressing
- 7 minutes for filling 100_000_000 table (Int=>Int).
Pretending time grows lineary, 140 minutes for filling 2_000_000... -
08:06 AM Feature #12142: Hash tables with open addressing
- > Code with function (i << 2 + i + p + 1) & m is about 7% faster than one with simpler function (p + d) & h (14.5s vs...
-
04:26 AM Feature #12142: Hash tables with open addressing
- Eric Wong wrote:
> Encouraging performance results!
>
Thanks.
> I didn't test fully, but "make test-all" g... -
03:59 AM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Vladimir, you acts as if i said a rubbish or i'm trying to cheat you. It makes me angry.
>
... -
12:41 AM Feature #12142: Hash tables with open addressing
- Encouraging performance results!
I didn't test fully, but "make test-all" gets stuck for me
test_callcc of Te... -
01:53 AM Bug #12146 (Rejected): Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
- ```
/lib64/libpthread.so.0 [0x33d820f7e0]
/usr/lib64/libruby.so.1.8 [0x35bf841b0b]
/home/dominim6/.rvm/gems/ruby-2... -
01:02 AM Feature #12077: Consolidate SSLSocket interface with TCPSocket
- [email protected] wrote:
> Is there a reason why `SSLSocket#read` doesn't work the same
> as `SSLSocket#sys...
03/05/2016
-
11:32 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Vladimir, I'm sorry, I am too emotional.
That is OK.
-
10:36 PM Feature #12142: Hash tables with open addressing
- Vladimir, I'm sorry, I am too emotional.
-
10:08 PM Feature #12142: Hash tables with open addressing
- Vladimir, you acts as if i said a rubbish or i'm trying to cheat you. It makes me angry.
You wrote:
> I believe y... -
06:07 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Still, rebuilding is very time consuming process. And there are applications when Hash is used... -
06:04 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Next note: `sizeof(struct st_table)` were 48 bytes before patch on x86_64, and after it is 88 ... -
06:01 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> I strongly believe `st_index_t` should be `uint32_t`. It will limit hash size to 2^32 elements... -
05:50 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> > Quadratic probing is most probably not faster on modern super-scalar OOO CPUs
> than the se... -
12:07 PM Feature #12142: Hash tables with open addressing
- Still, rebuilding is very time consuming process. And there are applications when Hash is used as LRU cache.
Could... -
12:03 PM Feature #12142: Hash tables with open addressing
- Next note: `sizeof(struct st_table)` were 48 bytes before patch on x86_64, and after it is 88 bytes (which will be ro...
-
10:40 AM Feature #12142: Hash tables with open addressing
- I strongly believe `st_index_t` should be `uint32_t`. It will limit hash size to 2^32 elements, but even with this "s...
-
10:05 AM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
> Open addressing removes pointer making a smaller element which increases
> probability to... -
09:34 AM Feature #12142: Hash tables with open addressing
- > Quadratic probing is most probably not faster on modern super-scalar OOO CPUs
than the secondary hash function I u... -
04:27 AM Feature #12142: Hash tables with open addressing
- > In 3 cases out of 4, the proposed hash tables are more compact than the trunk ones.
Oops, I didn't realize. Sor... -
03:37 AM Feature #12142: Hash tables with open addressing
- Yusuke Endoh wrote:
>
> It consumes more memory not only when they are small.
>
> ~~~~
> # trunk
> $ /usr/bin/... -
01:25 AM Feature #12142: Hash tables with open addressing
- Yusuke Endoh wrote:
> Vladimir Makarov wrote:
> > Thanks for the numbers. Is it a real world scenario?
>
> I ca... -
10:28 PM Bug #12146 (Rejected): Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
- Hello, I think I found a bug.
#### FRAME
*Working with ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux... -
07:18 PM Feature #12145: Aliashood between `size` and `length` is not consistent
- Similarly, `Enumerable#inject` and `Enumerable#reduce` and `Enumerable#map` and `Enumerable#collect` should be aliase...
-
07:12 PM Feature #12145 (Open): Aliashood between `size` and `length` is not consistent
- When `size` and `length` have the same implementation, depending on the class, they are either independently defined ...
-
04:42 PM Feature #12138: Support `Kernel#load_with_env(filename, cbase: SomeMod, cref: someMod, binding: SomeMod) # => obj`
- Robert A. Heiler wrote:
> +1 for the spirit of the suggestion
>
> Perhaps ruby 3.x will also feature some more ad... -
10:20 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- Nobuyoshi Nakada wrote:
> Could you show failed messages?
build using rubyinstaller with devkit=mingw64-64-4.7.2
... -
05:19 AM Feature #12141: send and __send__
- I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'internal' method with special ...
-
04:45 AM Feature #12134: Comparison between `true` and `false`
- As another example, let us consider displaying items in an issue tracker. There is an array `items` of items, each of...
-
02:42 AM Feature #12134: Comparison between `true` and `false`
- Just for comparison purposes, here's an example of the latter with #partition:
~~~ruby
[7, 6, 5, 4, 3, 2, 1].part...
03/04/2016
-
11:11 PM Feature #12142: Hash tables with open addressing
- Vladimir Makarov wrote:
> Thanks for the numbers. Is it a real world scenario?
I can imagine many cases: loading... -
06:13 PM Feature #12142: Hash tables with open addressing
- Yusuke Endoh wrote:
> Great, but it seems to need more work. It consumes nearly 2 times much memory.
>
> ~~~~
>... -
05:54 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Small note: there is no need in pertrubation and 'python like' secondary hash cause ruby uses ... -
05:35 PM Feature #12142: Hash tables with open addressing
- Yura Sokolov wrote:
> Great!
>
Thanks.
> Notes:
> - num_entries should remain num_entries. It is easier for... -
04:35 PM Feature #12142: Hash tables with open addressing
- Nobuyoshi Nakada wrote:
> Koichi Sasada wrote:
> > * at first, you (or we) should introduce `st_num_entries()` (or ... -
04:31 PM Feature #12142: Hash tables with open addressing
- Koichi Sasada wrote:
> Thank you for your great contribution.
>
Thanks you for your quick response. I am not a ... -
10:41 AM Feature #12142: Hash tables with open addressing
- Great, but it seems to need more work. It consumes nearly 2 times much memory.
~~~~
# trunk
$ /usr/bin/time -f ... -
09:00 AM Feature #12142: Hash tables with open addressing
- Small note: there is no need in pertrubation and 'python like' secondary hash cause ruby uses strong hash function. B...
-
08:54 AM Feature #12142: Hash tables with open addressing
- Great!
Notes:
- num_entries should remain num_entries. It is easier for you to change naming than fix all rubygem... -
05:50 AM Feature #12142: Hash tables with open addressing
- Koichi Sasada wrote:
> * at first, you (or we) should introduce `st_num_entries()` (or something good name) to wrap ... -
03:59 AM Feature #12142: Hash tables with open addressing
- Thank you for your great contribution.
Do you compare memory usages?
There are good and bad points.
* Good
... -
03:09 AM Feature #12142 (Closed): Hash tables with open addressing
- ~~~
Hello, the following patch contains a new implementation of hash
tables (major files st.c and include/ruby/... -
10:48 PM Bug #12144 (Closed): Segfault in Ruby 2.3.0p0
- Greetings,
I've recently started getting a segfault when running our integration test suite against Rails 3.1.12.
... -
04:40 PM Bug #12143 (Closed): [DOC] Fix RDoc markup in doc/extension*.rdoc
- This patch fixes broken RDoc in extension.rdoc and extension.ja.rdoc.
E.g. fixing labelled lists, comments (# -> -... -
02:44 PM Feature #12093: Eval InstructionSequence with binding
- Do you mean same template with different contexts, a name is a variable one time, but a method call next time?
I dou... -
01:42 PM Feature #12141: send and __send__
- I can't understand this issue. You know there is `__send__` because `send` is often overridden. Then, why do you th...
-
12:49 PM Feature #12141: send and __send__
- Thanks for your feedback. :-)
I agree, it's a minor (cosmetic) issue. For example, Rails uses `__send__` only 17 t... -
07:03 AM Feature #12141: send and __send__
- Hmm the second send that appears in bold is a `__send__` - it seems
as if rubymine interpretes this as bold, sorry. -
07:02 AM Feature #12141: send and __send__
- I think this could only be done in ruby 3.x
But I believe that `.send` will remain because it is super short. :)
... -
10:56 AM Feature #12062 (Closed): supporting CIDR in ENV["no_proxy"]
-
09:57 AM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
- Marc-Andre Lafortune wrote:
> Sadly, there's no way to know from `method_missing` if that method is called privately... -
12:45 AM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
- Indeed, latest optimization of `OpenStruct` now allows conflicts with Object private methods.
I didn't realize it,... -
08:48 AM Feature #11547: remove top-level constant lookup
- Scott Bronson wrote:
> Corin, I completely agree. Recently, Rails's nondeterministic autoload made it very hard for... -
07:24 AM Bug #12044 (Closed): net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
- fixed at r53810
-
07:04 AM Feature #12138: Support `Kernel#load_with_env(filename, cbase: SomeMod, cref: someMod, binding: SomeMod) # => obj`
- +1 for the spirit of the suggestion
Perhaps ruby 3.x will also feature some more advanced import-like system
fitt...
Also available in: Atom