havenwood changed the topic of #ruby to: Ruby 3.4.2, 3.3.7 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
jmcantrell has joined #ruby
weaksauce has joined #ruby
Obsdark has joined #ruby
Obsdark has quit [Changing host]
Obsdark has joined #ruby
jasfloss has quit [Ping timeout: 260 seconds]
Goku has joined #ruby
<Goku> sera
Goku has left #ruby [#ruby]
jasfloss has joined #ruby
phryk has quit [Ping timeout: 246 seconds]
<Inline> sera Son Goku
<Inline> lol
ash_worksi has joined #ruby
phryk has joined #ruby
testone is now known as testone_web
ash_worksi has quit [Ping timeout: 265 seconds]
testone_web is now known as testone
cappy has joined #ruby
Obsdark has quit [Quit: Nettalk6 - www.ntalk.de]
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
llua` is now known as llua
R2robot has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
cappy has quit [Quit: Leaving]
whiteman809_ is now known as whiteman809
brokkoli_origin has quit [Ping timeout: 252 seconds]
gemmaro has quit [Ping timeout: 252 seconds]
gemmaro has joined #ruby
brokkoli_origin has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
nirvdrum74 has quit [Ping timeout: 252 seconds]
nirvdrum74 has joined #ruby
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
toretore has joined #ruby
msv has quit [Read error: Connection reset by peer]
svm has joined #ruby
tardybaker_ has quit [Read error: Connection reset by peer]
tardybaker has joined #ruby
jmcantrell has quit [Ping timeout: 252 seconds]
meinside has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
aesthetikx has quit [Ping timeout: 265 seconds]
aesthetikx has joined #ruby
Inline has joined #ruby
Inline has quit [Ping timeout: 245 seconds]
MyNetAz has quit [Remote host closed the connection]
Tempesta has quit [Quit: See ya!]
MyNetAz has joined #ruby
Tempesta has joined #ruby
Inline has joined #ruby
MyNetAz has quit [Remote host closed the connection]
GreenResponse has joined #ruby
xokna has joined #ruby
Rounin has quit [Quit: Rounin]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
MyNetAz has joined #ruby
aesthetikx has quit [Ping timeout: 248 seconds]
Sheilong has joined #ruby
aesthetikx has joined #ruby
user71 has joined #ruby
r2ro has joined #ruby
R2robot has quit [Ping timeout: 248 seconds]
r2ro is now known as R2robot
Perflosopher03 has joined #ruby
GreenResponse has quit [Remote host closed the connection]
Perflosopher03 has quit [Quit: The Lounge - https://thelounge.chat]
Perflosopher03 has joined #ruby
fantazo has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
GreenResponse has joined #ruby
Pixi has quit [Read error: Connection reset by peer]
blacknova has joined #ruby
<dorian> hey question: last i checked, `self.class` was *really* slow, like slow enough that if you're going to call it in a tight loop you should really figure out a way not to. has this changed at all in recent ruby versions?
xokna has quit [Read error: Connection reset by peer]
<dorian> my situation is i have a class with a bunch of methods which i want to access as both static and instance methods modulo access to a piece of state that would be passed in as a parameter in the static version
xokna has joined #ruby
<dorian> what i'm wondering though is if there's a version of ruby new enough to have just fixed the problem of `self.class` being slow, which is my main motivation for all this metaprogramming
Exa has quit [Quit: see ya!]
Exa has joined #ruby
cappy has joined #ruby
user71 has quit [Quit: Leaving]
Pixi has joined #ruby
Guest25584 has joined #ruby
Sheilong has quit []
<o0ox1eef> dorian: I never heard of that being a problem, but can't you just cache it in a local outside the loop if that's the case ?
Inline has joined #ruby
jhass has quit [Remote host closed the connection]
MyNetAz has quit [Remote host closed the connection]
testone has quit [Remote host closed the connection]
testone has joined #ruby
Guest25584 is now known as RedHat_
RedHat_ has quit [Changing host]
RedHat_ has joined #ruby
r2ro has joined #ruby
weyhmueller has quit [Quit: ZNC - https://znc.in]
weyhmueller has joined #ruby
R2robot has quit [Ping timeout: 276 seconds]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
r2ro has quit [Ping timeout: 248 seconds]
jhass has joined #ruby
<havenwood> dorian: YJIT largely takes care of it outside of a super hot loop: self.class: 76,869,039 i/s - 1.09x slower
R2robot has joined #ruby
<havenwood> When there are already 78 billion per second, you probably don't need that 9%.
<havenwood> 78 million*
<havenwood> self.class: 77385423.7 i/s - same-ish: difference falls within error
<havenwood> Seems to be slightly slower, but almost within margin of error.
MyNetAz has joined #ruby
Rounin has quit [Ping timeout: 248 seconds]
RedHat_ has quit [K-Lined]
Inline has quit [Ping timeout: 260 seconds]
GreenResponse has quit [Quit: Leaving]
mange has joined #ruby
jmcantrell has joined #ruby
Inline has joined #ruby
MyNetAz has quit [Remote host closed the connection]
jmcantrell has quit [Ping timeout: 244 seconds]
Inline has quit [Quit: Leaving]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
xokna has quit [Quit: WeeChat 4.4.3]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Inline has joined #ruby
Inline has quit [Ping timeout: 268 seconds]
Inline has joined #ruby
Inline_ has joined #ruby
Inline__ has joined #ruby
Inline is now known as Guest6722
Guest6722 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
Inline__ is now known as Inline
Inline_ has quit [Ping timeout: 276 seconds]
MyNetAz has joined #ruby
centurion has joined #ruby