<Madcotto10>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<Madcotto10>
I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
Madcotto10 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
shellac has joined #jruby
_Caerus has quit [Quit: yak.shaving.aintfunZzzZ]
lebster1 has joined #jruby
<lebster1>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<lebster1>
I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
lebster1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
shellac has quit [Quit: Computer has gone to sleep.]
Guest23877 has joined #jruby
<Guest23877>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
Guest23877 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Namarrgon7 has joined #jruby
<Namarrgon7>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
Namarrgon7 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
shellac has joined #jruby
shellac has quit [Read error: Connection reset by peer]
shellac has joined #jruby
ghoti14 has joined #jruby
<ghoti14>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
ghoti14 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
zopsi has joined #jruby
<zopsi>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
zopsi has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Guest47071 has joined #jruby
<Guest47071>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
Guest47071 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
KindOne has joined #jruby
<KindOne>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
KindOne has quit [Killed (Sigyn (Spam is off topic on freenode.))]
drbobbeaty has joined #jruby
jrafanie has joined #jruby
rdubya has quit [Ping timeout: 260 seconds]
rdubya has joined #jruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yes_ma`am has joined #jruby
<Yes_ma`am>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
Yes_ma`am has quit [Killed (Sigyn (Spam is off topic on freenode.))]
u1dzer027 has joined #jruby
<u1dzer027>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
u1dzer027 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
shellac_ has joined #jruby
shellac has quit [Ping timeout: 260 seconds]
Antiarc has quit [Ping timeout: 256 seconds]
jrafanie has joined #jruby
Antiarc has joined #jruby
<GitHub75>
[jruby] matthiasr opened issue #5273: IllegalCharsetNameException: -Dfile.encoding=UTF-8UTF-8 https://git.io/fNiPd
Caerus has joined #jruby
shellac_ has quit [Remote host closed the connection]
Caerus has quit [Ping timeout: 240 seconds]
shellac has joined #jruby
Caerus has joined #jruby
chrisarcand has quit [Ping timeout: 256 seconds]
chrisarcand has joined #jruby
xardion has quit [Remote host closed the connection]
<GitHub191>
jruby/master 5aa064b Charles Oliver Nutter: Bind IRubyObject-assignable Java set/get directly with indy.
Antiarc has quit [Read error: Connection reset by peer]
Antiarc has joined #jruby
A_D10 has joined #jruby
<A_D10>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<A_D10>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
A_D10 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
mikedlr1 has joined #jruby
<mikedlr1>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
mikedlr1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<lopex>
headius: cool talk
<headius>
lopex: thanks!
<headius>
I think we have a lot of room to improve...preparing the talk made me realize how little we've done already
<lopex>
and a hard one
<lopex>
politically
<lopex>
but you did a great job imho
TReK21 has joined #jruby
TReK21 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<TReK21>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<lopex>
headius: ah, and glad you mentioned as/400 users :P
<headius>
so enebo wanted me to try to get rid of interrupt check overhead
<lopex>
yep
<lopex>
headius: by the whole pack of that api in String still wont use it
<headius>
the first version passes a flag to do interrupt check or not
<lopex>
headius: we need to centralize that
<headius>
the second version is still interruptible but only on the *matcher*
<headius>
so the interrupting thread would have to know what matcher to interrupt
<headius>
the main cost of the interrupt check is the stupid JDK call
<headius>
even if it's done at 30k instr increments
<lopex>
the one in the interpreter ?
<headius>
yes
<lopex>
even one on 30k ?
<headius>
surprisingly, yes
<headius>
my first experiment was to never check it but still increment the value, and it was like 30% faster
<lopex>
hmm, well, opcode dispatch might not be a good measure of that though ?
<headius>
probably not
<headius>
it was just what we went with when working with LogStash folks on this feature
<headius>
in any case the volatile check doesn't seem to be a cost at all
<lopex>
yeah, the dispatch is probably dominating that
<lopex>
so, as enebo suggested if it will be an option, you can eliminate that cost entirely ?
<headius>
yeah that's what these numbers are
<lopex>
cool
<headius>
the first case eliminates it entirely, so if you call "match" instead of "matchInterruptible" it will not be interruptible at all
<headius>
the second set of numbers still checks a boolean on the matcher
<headius>
that you can turn off...so no thread interrupt, but still matcher interrupt
<lopex>
headius: what about other runtime options ?
<lopex>
do they use the same mechanisms ?
<headius>
well this is just eliminating interrupt checking cost for the methods that say they're not interruptible
<headius>
if that's indeed what we mean
<lopex>
ah, I meant that you use something like switchpoint there
<headius>
should match be interruptible if matchInterruptible exists? The only difference now is that one throws the exception and one returns an error code
<headius>
I thought about that but it's not a great fit
<lopex>
is there any guard on the way ?
<lopex>
at runtime ?
<headius>
since it's not a single, static SwitchPoint it wouldn't inline
<headius>
this volatile check seems fine and it's still possible to kill a long-running match if you have the matcher
<lopex>
ok
<headius>
I'll show you the patch
<lopex>
yeah, volatile seemed to dominate on tighter loops asaik
<lopex>
afaik
<lopex>
headius: late night here so I'm mostly guessing
<lopex>
headius, enebo: oh, btw, we'll need matcher.matchInterruptible anyways since String#start_with is using onig_match directly
<lopex>
enebo: this and StringScanner are the only onig_match consumers
<headius>
lopex: I pushed "new_interrupt" branch to joni
<headius>
enebo wants to also make the interruptible feature a flag
<headius>
we will still be able to interrupt via our existing thread interrupt mechanism and this new volatile flag, but the JRuby option would turn on Thread-level interrupting