General

Profile

janko (Janko Marohnić)

Issues

Activity

07/07/2018

05:07 PM Ruby master Feature #14426: [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
The patch got outdated in the latest trunk, so I updated it again. It's a really small change with big impact on memo... janko (Janko Marohnić)
09:47 AM Ruby master Bug #14900 (Open): Extra allocation in String#byteslice
When executing `String#byteslice` with a range, I noticed that sometimes the original string is allocated again. When... janko (Janko Marohnić)

07/03/2018

11:07 PM Ruby master Feature #13626: Add String#byteslice!
I support adding `String#byteslice!`. I've been using `String#byteslice` in custom IO-like objects that implement `IO... janko (Janko Marohnić)

05/17/2018

12:28 PM Ruby master Bug #14745: High memory usage when using String#replace with IO.copy_stream
> it looks like @stream_cipher.update can take a second destination arg (like IO#read and friends) and maybe that hel... janko (Janko Marohnić)

05/16/2018

09:33 AM Ruby master Bug #14745: High memory usage when using String#replace with IO.copy_stream
> Yes, this is an unfortunate side effect because of copy-on-write
> semantics of String#replace. If the arg (other_...
janko (Janko Marohnić)

05/09/2018

12:50 PM Ruby master Bug #14745 (Closed): High memory usage when using String#replace with IO.copy_stream
I'm using custom IO-like objects that implement #read as the first argument to IO.copy_stream, and I noticed odd memo... janko (Janko Marohnić)

04/18/2018

01:16 PM Ruby master Feature #14426: [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
Any updates on this one? I think it would be nice to have this included in the next patch version. This will make mem... janko (Janko Marohnić)

01/31/2018

12:36 PM Ruby master Feature #14426 (Closed): [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
When writing data to an SSLSocket, there are a lot of, in my opinion, unnecessary strings being allocated, concretely... janko (Janko Marohnić)

01/29/2018

12:29 AM Ruby master Feature #14404: Adding writev support to IO#write_nonblock
> How ugly/tedious would it be for the users to deal with partial
> writes to use write_nonblock?
It does take a ...
janko (Janko Marohnić)

01/26/2018

11:23 AM Ruby master Feature #13527: Accept IO object as stdin data in Open3.capture
Thank you for the patch!
Since IO.copy_stream also accepts IO objects that respond only to #read (and not #readpar...
janko (Janko Marohnić)

Also available in: Atom