| Age | Commit message (Collapse) | Author |
|
|
|
|
|
* Enhanced RDoc for IO.popen
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Previously Time.now was switched to use Time.new as it added support for
the in: argument. Unfortunately because Class#new is a cfunc this
requires always allocating a Hash.
This commit switches Time.now back to using a builtin time_s_now. This
avoids the extra Hash allocation and is about 3x faster.
$ benchmark-driver -e './ruby;3.1::~/.rubies/ruby-3.1.0/bin/ruby;3.0::~/.rubies/ruby-3.0.2/bin/ruby' benchmark/time_now.yml
Warming up --------------------------------------
Time.now 6.704M i/s - 6.710M times in 1.000814s (149.16ns/i, 328clocks/i)
Time.now(in: "+09:00") 2.003M i/s - 2.112M times in 1.054330s (499.31ns/i)
Calculating -------------------------------------
./ruby 3.1 3.0
Time.now 7.693M 2.763M 6.394M i/s - 20.113M times in 2.614428s 7.278710s 3.145572s
Time.now(in: "+09:00") 2.030M 1.260M 1.617M i/s - 6.008M times in 2.960132s 4.769378s 3.716537s
Comparison:
Time.now
./ruby: 7693129.7 i/s
3.0: 6394109.2 i/s - 1.20x slower
3.1: 2763282.5 i/s - 2.78x slower
Time.now(in: "+09:00")
./ruby: 2029757.4 i/s
3.0: 1616652.3 i/s - 1.26x slower
3.1: 1259776.2 i/s - 1.61x slower
Notes:
Merged: https://github.com/ruby/ruby/pull/5429
|
|
[Bug #18475]
Notes:
Merged: https://github.com/ruby/ruby/pull/5431
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5432
|
|
A short (2 bytes) will cause unaligned struct accesses when strings are
used as a buffer to directly store binary data.
Notes:
Merged: https://github.com/ruby/ruby/pull/5432
|
|
https://github.com/ruby/optparse/commit/9e29d86c12
|
|
https://github.com/ruby/optparse/commit/0ac9957696
|
|
https://github.com/ruby/optparse/commit/dab72c543d
|
|
Specify the main page and the page directory. Also in Rakefile,
extract and use the same options from the gemspec file.
https://github.com/ruby/optparse/commit/d182cd60b5
|
|
https://github.com/ruby/optparse/commit/ed283559d4
|
|
|
|
https://github.com/ruby/io-nonblock/commit/a7bfbfa049
|
|
https://github.com/ruby/rinda/commit/1d3512aa26
|
|
https://github.com/ruby/io-wait/commit/75543ab1bc
|
|
https://github.com/ruby/date/commit/537f3f681e
|
|
https://github.com/ruby/open3/commit/f6ca124b56
|
|
https://github.com/ruby/win32ole/commit/2d5dc47ed4
|
|
https://github.com/ruby/win32ole/commit/c0586b2f75
|
|
https://github.com/ruby/resolv/commit/55e42221d4
|
|
Implements [Feature #17524]
https://github.com/ruby/resolv/commit/993a1a374f
|
|
|
|
* YJIT documentation additions and updates
* Update yjit.md
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
|
|
https://github.com/ruby/tmpdir/commit/40107b59b3
|
|
https://github.com/ruby/net-http/commit/843d4548de
|
|
https://github.com/ruby/find/commit/0ebbd5b852
|
|
https://github.com/ruby/zlib/commit/5f23cd3009
|
|
|
|
https://github.com/rubygems/rubygems/commit/c29cd23826
|
|
|
|
```
compiling ../ruby.c
../ruby.c:1547:17: error: implicit declaration of function 'setup_yjit_options' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
setup_yjit_options(s, &opt->yjit);
^
../ruby.c:1547:17: note: did you mean 'setup_mjit_options'?
../ruby.c:1122:1: note: 'setup_mjit_options' declared here
setup_mjit_options(const char *s, struct mjit_options *mjit_opt)
^
../ruby.c:1547:45: error: no member named 'yjit' in 'struct ruby_cmdline_options'; did you mean 'mjit'?
setup_yjit_options(s, &opt->yjit);
^~~~
mjit
../ruby.c:192:25: note: 'mjit' declared here
struct mjit_options mjit;
^
../ruby.c:1924:28: error: no member named 'yjit' in 'struct ruby_cmdline_options'; did you mean 'mjit'?
rb_yjit_init(&opt->yjit);
^~~~
mjit
../ruby.c:192:25: note: 'mjit' declared here
struct mjit_options mjit;
^
3 errors generated.
```
|
|
|
|
|
|
|
|
Treats:
#pread
#pwrite
#binmode
#binmode?
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Treats:
#sysseek
#syswrite
#sysread
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
last line
https://github.com/ruby/reline/commit/05024b968e
|
|
This adds support for passing keyword arguments to cfuncs. This is done
by calling a helper method to create the hash from the top N values on
the stack (determined by the callinfo) and then moving that value onto
the stack.
Notes:
Merged: https://github.com/ruby/ruby/pull/5397
|
|
Revises much of the introductory material.
Also treats:
#close_on_exec
#close
#closed?
#close_read
#close_write
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
The word "specification" can be confusing as it might make readers
assume that the Ruby Spec Suite is a specification similar to an ISO
specification. Avoid the word and link to the project so curious parties
could read more about the project.
Notes:
Merged: https://github.com/ruby/ruby/pull/5423
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5421
|
|
|
|
changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde
|
|
This reverts commit 9ad34da47ff7d71446e667897559047ed5635b60, as
`RBOOL` is not defined publicly yet.
|