yosafbridge` has quit [*.net *.split]
yosafbridge has joined #jruby
subbu has quit [Quit: Leaving]
razetime has joined #jruby
<headius> so I started a PR with some little case/when optimizations
<headius> so far there's frozen/cached literal strings (case "foo" or when "foo") and a switch optimization for homogeneous symbol whens
<headius> I'm wondering if there's value in making one for homogeneous regexp whens that compile all cases into a single regexp and do one match
<headius> the other optimization I can think of is to compile fast path matching for regexp and strings that does not dynamic dispatch unless necessary (patching/refining etc)
<headius> I also gave some thought to heterogeneous case/when that have a plurality of the same type (like all symbols except for a fallback or dynamic when) and wondering about refactoring the fast switch logic to support these cases
<headius> main issue is out of order cases like when 1; when "foo"; when 2... if we use a switch to jump to "2" we never make the call to "foo"#==
<headius> gonna let those ideas stew and look at some bugs
genpaku has quit [Remote host closed the connection]
genpaku has joined #jruby
razetime has quit [Remote host closed the connection]
bludgeon has quit [Ping timeout: 268 seconds]
caleb has left #jruby [#jruby]