00:00
jmcantrell has joined #ruby
00:19
weaksauce has joined #ruby
00:20
Obsdark has joined #ruby
00:20
Obsdark has quit [Changing host]
00:20
Obsdark has joined #ruby
00:33
jasfloss has quit [Ping timeout: 260 seconds]
00:42
Goku has joined #ruby
00:42
Goku has left #ruby [#ruby]
01:00
jasfloss has joined #ruby
01:03
phryk has quit [Ping timeout: 246 seconds]
01:06
<
Inline >
sera Son Goku
01:20
ash_worksi has joined #ruby
01:24
phryk has joined #ruby
01:35
testone is now known as testone_web
01:41
ash_worksi has quit [Ping timeout: 265 seconds]
01:43
testone_web is now known as testone
01:53
cappy has joined #ruby
02:11
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
02:24
llua` is now known as llua
02:33
R2robot has joined #ruby
02:59
Inline has quit [Ping timeout: 252 seconds]
03:14
cappy has quit [Quit: Leaving]
03:15
whiteman809_ is now known as whiteman809
03:27
brokkoli_origin has quit [Ping timeout: 252 seconds]
03:33
gemmaro has quit [Ping timeout: 252 seconds]
03:36
gemmaro has joined #ruby
03:37
brokkoli_origin has joined #ruby
03:37
brokkoli_origin has quit [Remote host closed the connection]
03:41
brokkoli_origin has joined #ruby
03:46
rvalue- has joined #ruby
03:46
rvalue has quit [Ping timeout: 252 seconds]
03:50
rvalue- is now known as rvalue
03:56
hwpplayer1 has joined #ruby
04:00
hwpplayer1 has quit [Remote host closed the connection]
04:22
nirvdrum74 has quit [Ping timeout: 252 seconds]
04:25
nirvdrum74 has joined #ruby
05:07
hwpplayer1 has joined #ruby
05:12
hwpplayer1 has quit [Remote host closed the connection]
05:25
toretore has joined #ruby
06:28
msv has quit [Read error: Connection reset by peer]
06:28
svm has joined #ruby
06:36
tardybaker_ has quit [Read error: Connection reset by peer]
06:39
tardybaker has joined #ruby
07:53
jmcantrell has quit [Ping timeout: 252 seconds]
07:56
meinside has joined #ruby
08:20
toretore has quit [Ping timeout: 244 seconds]
08:38
aesthetikx has quit [Ping timeout: 265 seconds]
09:35
aesthetikx has joined #ruby
10:41
Inline has joined #ruby
10:47
Inline has quit [Ping timeout: 245 seconds]
11:17
MyNetAz has quit [Remote host closed the connection]
11:18
Tempesta has quit [Quit: See ya!]
11:33
MyNetAz has joined #ruby
12:41
Tempesta has joined #ruby
12:41
Inline has joined #ruby
12:58
MyNetAz has quit [Remote host closed the connection]
13:06
GreenResponse has joined #ruby
13:15
xokna has joined #ruby
13:42
Rounin has quit [Quit: Rounin]
13:44
Rounin has joined #ruby
13:44
Rounin has quit [Changing host]
13:44
Rounin has joined #ruby
13:46
rvalue has quit [Read error: Connection reset by peer]
13:46
rvalue has joined #ruby
13:47
MyNetAz has joined #ruby
13:51
aesthetikx has quit [Ping timeout: 248 seconds]
13:52
Sheilong has joined #ruby
14:24
aesthetikx has joined #ruby
14:29
user71 has joined #ruby
15:33
r2ro has joined #ruby
15:34
R2robot has quit [Ping timeout: 248 seconds]
15:35
r2ro is now known as R2robot
16:15
Perflosopher03 has joined #ruby
16:46
GreenResponse has quit [Remote host closed the connection]
16:51
Perflosopher03 has joined #ruby
16:52
fantazo has joined #ruby
17:28
Inline has quit [Ping timeout: 252 seconds]
17:38
GreenResponse has joined #ruby
17:42
Pixi has quit [Read error: Connection reset by peer]
18:59
blacknova has joined #ruby
19:13
<
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?
19:14
xokna has quit [Read error: Connection reset by peer]
19:14
<
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
19:15
xokna has joined #ruby
19:16
<
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
19:30
Exa has quit [Quit: see ya!]
19:34
Exa has joined #ruby
19:57
cappy has joined #ruby
20:01
user71 has quit [Quit: Leaving]
20:18
Pixi has joined #ruby
20:41
Guest25584 has joined #ruby
20:52
Sheilong has quit []
20:55
<
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 ?
21:01
Inline has joined #ruby
21:10
jhass has quit [Remote host closed the connection]
21:11
MyNetAz has quit [Remote host closed the connection]
21:19
testone has quit [Remote host closed the connection]
21:19
testone has joined #ruby
21:20
Guest25584 is now known as RedHat_
21:20
RedHat_ has quit [Changing host]
21:20
RedHat_ has joined #ruby
21:21
r2ro has joined #ruby
21:22
weyhmueller has joined #ruby
21:22
R2robot has quit [Ping timeout: 276 seconds]
21:33
r2ro has quit [Ping timeout: 248 seconds]
21:34
jhass has joined #ruby
21:37
<
havenwood >
dorian: YJIT largely takes care of it outside of a super hot loop: self.class: 76,869,039 i/s - 1.09x slower
21:38
R2robot has joined #ruby
21:38
<
havenwood >
When there are already 78 billion per second, you probably don't need that 9%.
21:38
<
havenwood >
78 million*
21:39
<
havenwood >
self.class: 77385423.7 i/s - same-ish: difference falls within error
21:39
<
havenwood >
Seems to be slightly slower, but almost within margin of error.
21:40
MyNetAz has joined #ruby
21:41
Rounin has quit [Ping timeout: 248 seconds]
21:44
RedHat_ has quit [K-Lined]
21:46
Inline has quit [Ping timeout: 260 seconds]
22:04
GreenResponse has quit [Quit: Leaving]
22:05
mange has joined #ruby
22:08
jmcantrell has joined #ruby
22:16
Inline has joined #ruby
22:30
MyNetAz has quit [Remote host closed the connection]
22:31
jmcantrell has quit [Ping timeout: 244 seconds]
22:39
Inline has quit [Quit: Leaving]
22:46
Rounin has joined #ruby
22:46
Rounin has quit [Changing host]
22:46
Rounin has joined #ruby
22:49
xokna has quit [Quit: WeeChat 4.4.3]
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:04
Inline has joined #ruby
23:10
Inline has quit [Ping timeout: 268 seconds]
23:11
Inline has joined #ruby
23:11
Inline_ has joined #ruby
23:12
Inline__ has joined #ruby
23:14
Inline is now known as Guest6722
23:14
Guest6722 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
23:14
Inline__ is now known as Inline
23:17
Inline_ has quit [Ping timeout: 276 seconds]
23:24
MyNetAz has joined #ruby
23:39
centurion has joined #ruby