General

Profile

Soilent (Konstantin x)

  • Login: Soilent
  • Registered on: 11/22/2013
  • Last connection: 05/12/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 6 7

Activity

12/10/2019

05:32 AM Ruby master Revision 1bdabaa6 (git): base64.rb: improve performance of Base64.urlsafe_encode64
* lib/base64.rb: avoid unnecessary memory allocations Soilent (Konstantin x)

03/08/2018

11:59 AM Ruby master Feature #14580: Hash#store accepts a block
Eregon (Benoit Daloze) wrote:
> Soilent (Konstantin x) wrote:
> > Consider another example `hash.store(:time) { |ts...
Soilent (Konstantin x)
11:05 AM Ruby master Feature #14580: Hash#store accepts a block
mame (Yusuke Endoh) wrote:
> I think it is not so simple to optimize the double lookup by this API. Consider:
>
...
Soilent (Konstantin x)
08:44 AM Ruby master Feature #14580: Hash#store accepts a block
sawa (Tsuyoshi Sawada) wrote:
> Why not write `hash[:a]+= 42`?
Good point, but this works only for arithmetic ope...
Soilent (Konstantin x)

03/07/2018

04:40 PM Ruby master Feature #14580: Hash#store accepts a block
Hanmac (Hans Mackowiak) wrote:
> ~~~ ruby
> hash.transform_values(:a, :b) { |val| val + 42 }
> hash[:a] #=> 44
> ...
Soilent (Konstantin x)
04:25 PM Ruby master Feature #14580: Hash#store accepts a block
Eregon (Benoit Daloze) wrote:
> What should happen if the given key doesn't exist in Hash?
> This looks like a comp...
Soilent (Konstantin x)
04:21 PM Ruby master Feature #14580: Hash#store accepts a block
Hi Robert,
Thank you for your reply. You understood everything correctly.
Also, I might be wrong, but it seems ...
Soilent (Konstantin x)

03/06/2018

03:42 PM Ruby master Feature #14580 (Open): Hash#store accepts a block
Given a hash
~~~ ruby
hash = { a: 2 }
~~~
I want to update a single value in the hash:
~~~ ruby
hash[:a] ...
Soilent (Konstantin x)

08/18/2017

10:59 AM Ruby master Feature #13827 (Closed): Improve performance of `Base64.urlsafe_encode64`
Improve performance of `Base64.urlsafe_encode64` by avoiding unnecessary memory allocations. This may seem insignific... Soilent (Konstantin x)

04/12/2016

09:46 AM Ruby master Bug #12238: Logger writes progname if log message is nil
Thanks
I see that it is supposed to be like this. Seems a bit weird though.
Soilent (Konstantin x)

Also available in: Atom