MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #ruby
hwpplayer1 has joined #ruby
blacknova has quit [Quit: Connection closed for inactivity]
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
fercell has quit [Ping timeout: 244 seconds]
fercell has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
szkl has joined #ruby
<intelligent_boat>
I remember trying it on some previous years and it didn't make a difference, but it's quite good this time
<intelligent_boat>
without yjit, day 22 is the slowest day, taking 1 second to compute. with yjit, it takes 300ms, pretty nice speedup then
<intelligent_boat>
day 20 is the second slowest at 450 ms without, and it also gets brought down to about 300ms with
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
cappy has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
grenierm has joined #ruby
cappy has quit [Quit: Leaving]
hwpplayer1 has joined #ruby
<nakilon>
o0x1eef: there was a tool years ago that was supposed to draw a function call tree but it couldn't parse my code when I tried; there are new parsers but I doubt anyone has reworked it; but in theory a custom parser with logic that I used to make that graph , can be made
<nakilon>
and it's literal drawing of course, it's graphviz dot
<nakilon>
but dot need human assistance anyway because it can't reorder lists on its own, such those pink blocks with gems -- you do it manually to reduce edge intersections
MyNetAz has quit [Write error: Broken pipe]
<nakilon>
my graph basically shows just require and require_relative directives
<nakilon>
and the folder location
<nakilon>
do parsers know the difference between locally defined constants and globals? then that custom tool could give advices like "you forgot to require something, this constant is undefined", or "why did you require this if you don't use constants with such name?" -- assuming there is an accepted codestyle of putting the modules in the files with the
<nakilon>
same name (that I don't fully follow though)
MyNetAz has joined #ruby
<nakilon>
would be cool if when I do require some module M in a file describing module A, that then within A::B it would be accessible as A::M
<nakilon>
then instead of three edges A->M, B->A, B->M there would be only two A->M, B->A
<nakilon>
like "include" but for modules, not methods
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has quit [Remote host closed the connection]
MyNetAz has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
MyNetAz has joined #ruby
grenierm has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
<nakilon>
figured it out; the third time I fell for that trap that I have to you "rubyzip", not "zip" gem
patrick has quit [Ping timeout: 244 seconds]
patrick_ is now known as patrick
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick is now known as Guest6859
patrick_ has joined #ruby
aesthetikx has quit [Ping timeout: 272 seconds]
donofrio has joined #ruby
JulioPapel has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
goofansu has quit [Remote host closed the connection]
donofrio has quit [Ping timeout: 265 seconds]
donofrio has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
donofrio has quit [Ping timeout: 244 seconds]
JulioPapel has quit [Quit: JulioPapel]
konsolebox has joined #ruby
konsolebox has quit [Ping timeout: 245 seconds]
Vonter has quit [Quit: WeeChat 4.4.4]
Vonter has joined #ruby
donofrio has joined #ruby
JulioPapel has joined #ruby
aesthetikx has joined #ruby
<o0x1eef>
> do parsers know the difference between locally defined constants and globals?
<o0x1eef>
I think that's state the parser would have to maintain - right ? So unless it is designed that way, probably not. That's not to say existing tools or parsers couldn't be updated to maintain state like that
JulioPapel has quit [Quit: JulioPapel]
donofrio has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
nmollerup has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
donofrio has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
donofrio has quit [Ping timeout: 248 seconds]
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
ttpaul has joined #ruby
cappy has joined #ruby
ttpaul has left #ruby [#ruby]
donofrio has joined #ruby
CRISPR has joined #ruby
donofrio has quit [Ping timeout: 265 seconds]
CRISPR has quit [Ping timeout: 260 seconds]
CRISPR has joined #ruby
ua_ has quit [Quit: Leaving]
CRISPR has quit [Ping timeout: 265 seconds]
ua_ has joined #ruby
CRISPR has joined #ruby
ruby[bot] has quit [Remote host closed the connection]