General

Profile

opti (Andreas Opti)

  • Registered on: 08/04/2017
  • Last connection: 08/17/2017

Issues

Activity

08/16/2017

09:34 PM Ruby master Bug #13815 (Open): p args
>If you want the same behavior, you need to use parentheses:
>3.times { p((x,y = x+1,y+1)) }
# ok, but also with ...
opti (Andreas Opti)
09:17 PM Ruby master Feature #13822 (Feedback): Time.dst_changes(t=Time.now.year)
output [time1,time2] of daysaving-changes of given year
I assume the result does not depend on timezone,
only th...
opti (Andreas Opti)
09:04 PM Ruby master Misc #13819: removing issues... [p *local vars]
ok - thanks for the number!
Now [whoever] can delete this issue.
opti (Andreas Opti)
10:36 AM Ruby master Misc #13819 (Closed): removing issues... [p *local vars]
Hi
Its not nice to remove issues, I invested much time to test it, also with different Ruby-versions,
so please at ...
opti (Andreas Opti)

08/14/2017

07:05 PM Ruby master Bug #13815: p args
x=y=0 # outside defined vars!
3.times { x,y = x+1,y+1 } # as expected: x==3
3.times { p(x,y = x+1,y+1) } # NOT as e...
opti (Andreas Opti)
06:55 PM Ruby master Bug #13815 (Closed): p args
x=y=0 # outside defined vars!
3.times {|i| x,y=x+1,y+1 } # as expected: x==3
3.times {|i| p(x,y=x+1,y+1) } # NOT...
opti (Andreas Opti)

08/07/2017

09:31 PM Ruby master Feature #13789 (Rejected): Dir - methods
If having (new) Dir.entries, Dir.chidren, I would also add:
Dir.entries (includes all),
Dir.files Dir.dirs Dir.syml...
opti (Andreas Opti)
09:14 PM Ruby master Bug #13783: Memory allocation / GC does not free unused memory
I didn't manage to compile Ruby v250 (because of other errrors), nice to see that this bug is fixed now.
(I mentione...
opti (Andreas Opti)

08/04/2017

10:30 AM Ruby master Bug #13783 (Feedback): Memory allocation / GC does not free unused memory
100.times {x=[]; 1000000.times {|i| x.push [i,i*3]} }
100.times should use (more or less) the same memory as 3.times...
opti (Andreas Opti)

Also available in: Atom