[#100309] How to use backport custom field — Jun Aruga <jaruga@...>
Please allow my ignorance.
9 messages
2020/10/06
[#100310] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/06
"Backport custom field" is only available for tickets whose tracker is "Bug".
[#100311] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/06
On Tue, Oct 6, 2020 at 4:44 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100314] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/06
Thank you for confirmation.
[#100322] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/07
On Tue, Oct 6, 2020 at 7:25 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100326] Re: How to use backport custom field
— "NARUSE, Yui" <naruse@...>
2020/10/07
I added you to "Reporter" role in the project
[#100327] Re: How to use backport custom field
— Jun Aruga <jaruga@...>
2020/10/07
On Wed, Oct 7, 2020 at 1:42 PM NARUSE, Yui <naruse@airemix.jp> wrote:
[#100358] [BUG] ruby 2.6.6 warning with encdb.so — shiftag <shiftag@...>
Hello,
1 message
2020/10/10
[ruby-core:100274] [Ruby master Feature#17135] Improve performance of Integer#size method
From:
shyouhei@...
Date:
2020-10-02 02:19:16 UTC
List:
ruby-core #100274
Issue #17135 has been updated by shyouhei (Shyouhei Urabe).
ko1 (Koichi Sasada) wrote in #note-6:
> shyouhei (Shyouhei Urabe) wrote in #note-3:
> > The patch looks good to me. HOWEVER, let me -1 this.
> > Integer#size HAS to be as fast as what is proposed here, without any extra hustle like this.
> > @ko1 any idea what is preventing it from running smoothly?
>
> what is the "extra hustle"?
The proposed patch is basically `Primitive.cexpr! 'int_size(self)'`. Why it must be faster than `rb_define_method(rb_cInteger, "size", int_size, 0)`? They should at least perform identically.
----------------------------------------
Feature #17135: Improve performance of Integer#size method
https://bugs.ruby-lang.org/issues/17135#change-87861
* Author: S_H_ (Shun Hiraoka)
* Status: Assigned
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
----------------------------------------
`Integer#size` seems to show improved performance when written in ruby.
benchmark:
```yml
prelude: |
n = 42
benchmark:
size: |
n.size
loop_count: 20000000
```
result:
```bash
sh@MyComputer:~/rubydev/build$ make benchmark/integer_size.yml -e COMPARE_RUBY=~/.rbenv/shims/ruby -e BENCH_RUBY=../install/bin/ruby
# Iteration per second (i/s)
| |compare-ruby|built-ruby|
|:-----|-----------:|---------:|
|size | 65.749M| 87.117M|
| | -| 1.33x|
```
`COMPARE_RUBY` is `ruby 2.8.0dev (2020-08-28T10:47:29Z master 7e1fddba4a) [x86_64-linux]`. `BENCH_RUBY` is patched.
pull request:
https://github.com/ruby/ruby/pull/3476
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>