elia has quit [Quit: Computer has gone to sleep.]
jaffachi_ has quit [Quit: Computer has gone to sleep.]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #rubinius
kfpratt has quit [Remote host closed the connection]
meh` has quit [Quit: I don't want to live on this planet anymore.]
kfpratt has joined #rubinius
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #rubinius
|jemc| has quit [Ping timeout: 245 seconds]
kfpratt has quit [Ping timeout: 272 seconds]
benlovell has joined #rubinius
jnh has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.0]
benlovell has quit [Ping timeout: 255 seconds]
kfpratt has joined #rubinius
houhoulis has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #rubinius
houhoulis has joined #rubinius
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #rubinius
kfpratt has quit [Ping timeout: 272 seconds]
rafacv has joined #rubinius
rafacv has left #rubinius [#rubinius]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
houhoulis has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
larstobi has quit [*.net *.split]
20WABIUE7 has quit [*.net *.split]
fbernier has quit [*.net *.split]
|Blaze| has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
leocassarani has quit [*.net *.split]
jeregrine has quit [*.net *.split]
halorgium has quit [*.net *.split]
sbryant has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
alexsuraci has quit [*.net *.split]
cypher23 has quit [*.net *.split]
locks has quit [*.net *.split]
stormwin1 has quit [*.net *.split]
dlackty__ has quit [*.net *.split]
postmodern has quit [*.net *.split]
cezarsa__ has quit [*.net *.split]
DireFog has quit [*.net *.split]
heftig has quit [*.net *.split]
dbussink has quit [*.net *.split]
cyndis_ has quit [*.net *.split]
Y_Ichiro_ has quit [*.net *.split]
LTe has quit [*.net *.split]
dmilith has quit [*.net *.split]
Bish has quit [*.net *.split]
atamb0 has quit [*.net *.split]
eregon has quit [*.net *.split]
bakkdoor has quit [*.net *.split]
djinni has quit [*.net *.split]
tarcieri has quit [*.net *.split]
jdsiegel_ has quit [*.net *.split]
shingara has quit [*.net *.split]
brixen has quit [*.net *.split]
Mugatu has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
Liothen has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
stass has quit [*.net *.split]
|jemc-bot| has quit [*.net *.split]
cremes has quit [*.net *.split]
blowmage has quit [*.net *.split]
flori has quit [*.net *.split]
mpapis has quit [*.net *.split]
stormbrew has quit [*.net *.split]
Benny1992 has quit [*.net *.split]
thegcat has quit [*.net *.split]
chee has quit [*.net *.split]
evan has quit [*.net *.split]
digitalextremist has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
jnh has quit [*.net *.split]
guilleiguaran___ has quit [*.net *.split]
lbianc has quit [*.net *.split]
johnmuhl has quit [*.net *.split]
nirix has quit [*.net *.split]
nwjsmith_____ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
carlosgaldino has quit [*.net *.split]
logbot-rubinius has quit [*.net *.split]
lopex has quit [*.net *.split]
cpuguy83 has quit [*.net *.split]
jfredett-w has quit [*.net *.split]
kagaro has quit [*.net *.split]
Rotonen has quit [*.net *.split]
imajes has quit [*.net *.split]
machty has quit [*.net *.split]
Gibheer has quit [*.net *.split]
yopp has quit [*.net *.split]
ahkurtz_ has quit [*.net *.split]
Bwild has quit [*.net *.split]
headius has quit [*.net *.split]
darix has quit [*.net *.split]
Spakman has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
cezarsa__ has joined #rubinius
DireFog has joined #rubinius
|Blaze| has joined #rubinius
larstobi has joined #rubinius
postmodern has joined #rubinius
bakkdoor has joined #rubinius
carlosgaldino has joined #rubinius
nwjsmith_____ has joined #rubinius
nirix has joined #rubinius
lopex has joined #rubinius
johnmuhl has joined #rubinius
heftig has joined #rubinius
logbot-rubinius has joined #rubinius
jeregrine has joined #rubinius
leocassarani has joined #rubinius
yxhuvud has joined #rubinius
lbianc has joined #rubinius
fbernier has joined #rubinius
halorgium has joined #rubinius
guilleiguaran___ has joined #rubinius
cpuguy83 has joined #rubinius
Guest85414______ has joined #rubinius
dbussink has joined #rubinius
sbryant has joined #rubinius
chrisseaton has joined #rubinius
Y_Ichiro_ has joined #rubinius
20WABIUE7 has joined #rubinius
alexsuraci has joined #rubinius
cypher23 has joined #rubinius
cyndis_ has joined #rubinius
jfredett-w has joined #rubinius
LTe has joined #rubinius
locks has joined #rubinius
kagaro has joined #rubinius
dmilith has joined #rubinius
Bish has joined #rubinius
stormwin1 has joined #rubinius
atamb0 has joined #rubinius
jeremyevans has joined #rubinius
Rotonen has joined #rubinius
stass has joined #rubinius
imajes has joined #rubinius
|jemc-bot| has joined #rubinius
dlackty__ has joined #rubinius
eregon has joined #rubinius
tarcieri has joined #rubinius
machty has joined #rubinius
yopp has joined #rubinius
Gibheer has joined #rubinius
mpapis has joined #rubinius
cremes has joined #rubinius
brixen has joined #rubinius
digitalextremist has joined #rubinius
Benny1992 has joined #rubinius
chee has joined #rubinius
ahkurtz_ has joined #rubinius
jdsiegel_ has joined #rubinius
headius has joined #rubinius
Spakman has joined #rubinius
evan has joined #rubinius
stormbrew has joined #rubinius
blowmage has joined #rubinius
shingara has joined #rubinius
thegcat has joined #rubinius
djinni has joined #rubinius
Bwild has joined #rubinius
Mugatu has joined #rubinius
darix has joined #rubinius
coffeejunk has joined #rubinius
yorickpeterse has joined #rubinius
Liothen has joined #rubinius
flori has joined #rubinius
TheMoonMaster has joined #rubinius
|jemc| has joined #rubinius
diegoviola has joined #rubinius
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 260 seconds]
kfpratt has joined #rubinius
kfpratt has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
kfpratt has joined #rubinius
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #rubinius
kfpratt has quit [Ping timeout: 245 seconds]
kfpratt has joined #rubinius
kfpratt has quit [Remote host closed the connection]
rafacv has joined #rubinius
rafacv has left #rubinius [#rubinius]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 245 seconds]
tenderlove has joined #rubinius
johnmuhl has quit [Quit: Connection closed for inactivity]
dzhulk has joined #rubinius
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 272 seconds]
tenderlove has quit [Remote host closed the connection]
flavio has joined #rubinius
flavio has joined #rubinius
tenderlove has joined #rubinius
noopq has joined #rubinius
enriclluelles has joined #rubinius
flavio has quit [Quit: WeeChat 0.4.1]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 272 seconds]
|jemc| has quit [Quit: WeeChat 0.4.3]
benlovell has joined #rubinius
dzhulk has quit [Quit: Leaving.]
elia has joined #rubinius
dzhulk has joined #rubinius
flavio has joined #rubinius
flavio has joined #rubinius
flavio has quit [Client Quit]
flavio has joined #rubinius
flavio has quit [Changing host]
flavio has joined #rubinius
dmilith has quit [Ping timeout: 260 seconds]
dmilith has joined #rubinius
tenderlove has quit [Ping timeout: 240 seconds]
digitalextremist has quit [Quit: demonstrate freedom //]
stass has quit [Read error: Connection reset by peer]
stass has joined #rubinius
meh` has joined #rubinius
jaffachi_ has joined #rubinius
tenderlove has joined #rubinius
meh` has quit [Quit: I don't want to live on this planet anymore.]
digitalextremist has joined #rubinius
jaffachi_ has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 272 seconds]
tenderlo_ has joined #rubinius
tenderlove has quit [Ping timeout: 246 seconds]
benlovell has joined #rubinius
enriclluelles has quit [Remote host closed the connection]
rafacv has joined #rubinius
tenderlo_ has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 255 seconds]
enriclluelles has joined #rubinius
lbianc has quit [Read error: Connection reset by peer]
lbianc has joined #rubinius
benlovell has quit [Ping timeout: 246 seconds]
noopq has quit [Ping timeout: 255 seconds]
lbianc has quit [Read error: Connection reset by peer]
lbianc has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 272 seconds]
lbianc_ has joined #rubinius
lbianc__ has joined #rubinius
benlovell has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc__ is now known as lbianc
rafacv has left #rubinius [#rubinius]
lbianc_ has quit [Ping timeout: 258 seconds]
lbianc_ has joined #rubinius
lbianc__ has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc__ is now known as lbianc
lbianc_ has quit [Ping timeout: 258 seconds]
chrisseaton has quit [Read error: Connection reset by peer]
alexsuraci has quit [Write error: Connection reset by peer]
cezarsa__ has quit [Read error: Connection reset by peer]
locks has quit [Write error: Connection reset by peer]
leocassarani has quit [Read error: Connection reset by peer]
andrewstewart has quit [Read error: Connection reset by peer]
mjc_ has quit [Read error: Connection reset by peer]
Guest85414______ has quit [Read error: Connection reset by peer]
jeregrine has quit [Read error: Connection reset by peer]
dlackty__ has quit [Write error: Connection reset by peer]
lbianc_ has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc_ is now known as lbianc
kfpratt has joined #rubinius
Guest85414______ has joined #rubinius
andrewstewart has joined #rubinius
alexsuraci has joined #rubinius
dzhulk has quit [Quit: Leaving.]
jeregrine has joined #rubinius
cezarsa__ has joined #rubinius
locks has joined #rubinius
leocassarani has joined #rubinius
dlackty__ has joined #rubinius
mjc_ has joined #rubinius
chrisseaton has joined #rubinius
diegoviola has joined #rubinius
tenderlove has joined #rubinius
|jemc| has joined #rubinius
tenderlove has quit [Ping timeout: 245 seconds]
lbianc has quit [Read error: Connection reset by peer]
lbianc has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
sshao has joined #rubinius
elia has joined #rubinius
tenderlove has joined #rubinius
kfpratt has quit []
tenderlove has quit [Ping timeout: 245 seconds]
meh` has joined #rubinius
lbianc_ has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc_ is now known as lbianc
elia has quit [Quit: Computer has gone to sleep.]
<|jemc|> I'm new to the -Xprofiler.graph option in Rubinius - I want to make sure I'm reading it right
<|jemc|> so, looking at entry [16], for example
<|jemc|> Array#each is called only by Enumerable#count
<|jemc|> and it calls Enumerable::count<66>, Rubinius::Tuple#at, Fixnum#+, and Fixnum#< ?
elia has joined #rubinius
jaffachi_ has joined #rubinius
flavio has quit [Quit: WeeChat 0.4.1]
<cremes> |jemc|: yes. you can see that Array#each is consuming 53.2% of the run time. the “each” block is taking 3.14 seconds and any children (i.e. other methods called within “each”) are taking 1.67 seconds.
<cremes> the other lines that have a bracketed number (e.g. [41]) tell you where to look lower in the report for specific details on that line.
benlovell has quit [Ping timeout: 258 seconds]
wca has quit [Quit: leaving]
<|jemc|> yeah, the self seconds vs children seconds thing is familiar to me from the flat output
<|jemc|> so, what is the difference between Enumerable#count [15] and Enumerable::count<66> {} [20] ?
<|jemc|> oh, nvm, I see the curl braces now
<|jemc|> entry 20 is a _block inside of_ Enumerable#count
<cremes> right, the count<66> is how rbx identifies anonymous blocks. i don’t know what logic it uses to derive that number (66).
<|jemc|> thanks, cremes :)
<cremes> any time
<|jemc|> hmm, kind of sucks that Array#count has to iterate over the array each time you ask it for the count
<|jemc|> just because it gets that implementation from Enumerable, which _has_ to iterate it each time because the length isn't necessarily known a priori for a given Enumerable
<cremes> if you are using the block form, it has to iterate over the whole thing.
<cremes> if you ask for just the count without any params, i don’t think it needs to iterate. if it is, that would be an easy win for Array to move that in there.
<|jemc|> yeah, I'm definitely not using the block form
<|jemc|> so it does seem like an "easy win"
<cremes> if you are using it without params, why not call #size?
<|jemc|> there's no reason Array#count can't just cache its own count and know not to iterate
<|jemc|> ah, are they implemented differently?
<|jemc|> I thought they were aliased
<cremes> i don’t know without looking at the code. that isn’t easy for me at the moment. :)
<|jemc|> yeah, I'm about to take a look
* cremes busy doing ruby on windows stuff :)
<|jemc|> my condolances
<|jemc|> yeah, Array#size is the ticket
<|jemc|> def size
<|jemc|> @total
<|jemc|> end
<|jemc|> :)
* |jemc| makes a mental note to never again use Array#count and Array#size interchangeably
<headius> JRuby defines Array#count to just return size with no block and I'm sure MRI does too
mustmodify has joined #rubinius
<headius> I guess rbx is just letting it fall back to Enumerable#count impl, eh?
<|jemc|> yeah, it seems like a low-hanging optimization, as long as things aren't complicated by the fact that count is "supposed to" come from the Enumerable module
<mustmodify> I'm about to nerd-out by examining a method I don't understand via Rubinius goodness. Do I need pry? Or just IRB? Or can someone just give me an appropriate search term or link?
<|jemc|> headius: for example, if a monkey-patching user redefs Enumerable#count, shouldn't Array#count be affected?
<headius> it wouldn't in MRI either
<headius> they define Array#count
<|jemc|> ah, they do?
* |jemc| looks
<|jemc|> ah, indeed they do
<mustmodify> as a user, I would initially expect monkey-patching Enumerable to patch Array, but I wouldn't be shocked if it didn't.
<|jemc|> in MRI:
<|jemc|> pry(main)> Array.instance_method(:count).owner
<|jemc|> => Array
<mustmodify> I mean, an interpreter user. :)
<|jemc|> in RBX:
<|jemc|> pry(main)> Array.instance_method(:count).owner
<|jemc|> => Enumerable
<|jemc|> I'll file an issue for it (and probably a PR as well)
<|jemc|> thanks for the tip-off to this fact, headius :)
<headius> I think it's reasonable for Array to override some Enumerable behaviors
<headius> no problem :-)
elia has quit [Quit: Computer has gone to sleep.]
lbianc has quit [*.net *.split]
guilleiguaran___ has quit [*.net *.split]
jaffachi_ has quit [Quit: Computer has gone to sleep.]
lbianc has joined #rubinius
guilleiguaran___ has joined #rubinius
nirix has quit [*.net *.split]
nirix has joined #rubinius
mustmodify has quit [*.net *.split]
nwjsmith_____ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
carlosgaldino has quit [*.net *.split]
logbot-rubinius has quit [*.net *.split]
yxhuvud has joined #rubinius
carlosgaldino has joined #rubinius
nwjsmith_____ has joined #rubinius
logbot-rubinius has joined #rubinius
mustmodify has joined #rubinius
jaffachi_ has joined #rubinius
lbianc_ has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc_ is now known as lbianc
mustmodify has left #rubinius [#rubinius]
tenderlove has joined #rubinius
<|jemc|> headius: does jruby call super (Enumerable#count) if block_given? or does it "hard-code" the iteration?
<|jemc|> I would think it hard-codes the iteration, but I thought I'd ask (I didn't know where to look in the jruby source)
<headius> RubyArray.java has the impl
<headius> we do not super
<|jemc|> thanks
tenderlove has quit [Ping timeout: 258 seconds]
<|jemc|> yeah, I found it, thanks
<headius> cool
<|jemc|> it's just one of those details that it would be nice if the implementations acted the same way
<|jemc|> so I thought I'd check up on it before my PR
<|jemc|> even though monkey-patching core stuff like Enumerable#count is bound to get users in trouble when switching between implementations anyway
enriclluelles has quit [Remote host closed the connection]
<headius> sure
dzhulk has joined #rubinius
jaffachi_ has quit [Quit: Computer has gone to sleep.]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 272 seconds]
lbianc_ has joined #rubinius
lbianc has quit [Ping timeout: 258 seconds]
lbianc_ is now known as lbianc
havenwood has joined #rubinius
Caius has joined #rubinius
Caius has joined #rubinius
Caius has quit [Changing host]
tenderlove has joined #rubinius
jaffachi_ has joined #rubinius
tenderlove has quit [Ping timeout: 260 seconds]
dzhulk1 has joined #rubinius
dzhulk has quit [Ping timeout: 240 seconds]
dzhulk1 has quit [Quit: Leaving.]
enriclluelles has joined #rubinius
havenwood has quit [Remote host closed the connection]
dzhulk has joined #rubinius
havenwood has joined #rubinius
noopq has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 258 seconds]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 245 seconds]
tenderlove has joined #rubinius
lbianc_ has joined #rubinius
caio_oliveira has joined #rubinius
<caio_oliveira> does anyone have ever had the following issue? Error: unrecognized opcode: `rep'
lbianc has quit [Ping timeout: 258 seconds]
lbianc has joined #rubinius
caio_oliveira_ has joined #rubinius
<caio_oliveira_> does someone have ever had the following error on running rake: Error: unrecognized opcode: `rep'
lbianc_ has quit [Ping timeout: 258 seconds]
caio_oliveira has quit [Ping timeout: 260 seconds]
lbianc_ has joined #rubinius
caio_oliveira has joined #rubinius
caio_oliveira has quit [Client Quit]
lbianc has quit [Ping timeout: 258 seconds]
lbianc_ is now known as lbianc
caio_oliveira_ has quit [Ping timeout: 258 seconds]
dzhulk has quit [Quit: Leaving.]
noopq has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
havenwood has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 260 seconds]
elia has joined #rubinius
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 272 seconds]
tenderlove has joined #rubinius
houhoulis has joined #rubinius
tenderlove has quit [Ping timeout: 255 seconds]
jc00ke has joined #rubinius
postmodern has quit [Quit: Leaving]
tenderlove has joined #rubinius
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 245 seconds]
postmodern has joined #rubinius
jc00ke has quit [Quit: WeeChat 0.4.2]
jc00ke has joined #rubinius
johnmuhl has joined #rubinius
jaffachi_ has quit [Quit: Computer has gone to sleep.]
jaffachi_ has joined #rubinius
meh` has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
meh` has quit [Quit: I don't want to live on this planet anymore.]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 272 seconds]
jaffachi_ has quit [Quit: Computer has gone to sleep.]
carlosgaldino has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 1.0]
jaffachi_ has joined #rubinius
|jemc| has quit [Ping timeout: 272 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
havenwood has joined #rubinius
<postmodern> in order to make it easier to get updated version info, I created this repo: https://github.com/postmodern/ruby-versions
<postmodern> i hope it's ok we used rubinius/ as the directory name instead of rbx/
<postmodern> never really sure when to use rbx instead of rubinius, when naming things