General

Profile

zed_0xff (Andrey Zaikin)

  • Login: zed_0xff
  • Email: zed.0xff@gmail.com
  • Registered on: 07/02/2014
  • Last sign in: 07/02/2014

Issues

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

Activity

07/02/2014

10:20 PM Ruby Bug #10007 (Closed): IO#read does not respect String Copy-On-Write in some cases
~~~ruby
#!/usr/bin/env ruby
CHUNK_SIZE = 29 # no problems with CHUNK_SIZE = 28
File.open(__FILE__,'r') do |f|
d0 = ''
a = []
f.read(CHUNK_SIZE, d0)
a << d0[15..-2]
a << d0[5..-2]
a << d0[-5..-2]
a...
zed_0xff (Andrey Zaikin)

Also available in: Atom