<mikko>
just to check, am i doing something stupid if i use "Benchmark.measure { Process.run(cmd, input: io_in, output: io_out) }" to time external processes?
<mikko>
both io_in and io_out are IO::Memory objects
<mikko>
feels like it might be measuring stuff i don't really care about, like passing those IO objects to Process.run, but i'm not sure how i would ever know if there is enough overhead for it to matter
ur5us has joined #crystal-lang
SamantazFox has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
<FromGitter>
<Blacksmoke16> What are you actually wanting to benchmark?
hightower3 has quit [Ping timeout: 240 seconds]
<FromGitter>
<y8> Hi! Is there nightlies of macos-arm64 somewhere?
dannyAAM has quit [Quit: znc.saru.moe : ZNC 1.6.2 - http://znc.in]
dannyAAM has joined #crystal-lang
HumanG33k has quit [Quit: WeeChat 2.3]
notzmv has quit [Ping timeout: 248 seconds]
hightower3 has joined #crystal-lang
notzmv has joined #crystal-lang
<FromGitter>
<oz:matrix.org> Not yet.
<hightower3>
So what's a good way to produce a "pointer" to a method? (something other than ->method(...), given that that only works with methods that don't have required named params)
<FromGitter>
<Blacksmoke16> make another method that doesnt use named args and delegates to the other ? :P
<hightower3>
and @[AlwaysInline] it ;-) sure, when it's a party...
<FromGitter>
<Blacksmoke16> however i will say, not sure if its a bug or intended that it doesnt work with named args
<FromGitter>
<Blacksmoke16> might be worth filing an issue for (or at least searching first)
<hightower3>
will do, thank you kindly
<hightower3>
there is also https://github.com/wyhaines/Send.cr that was demoed during Crystal conf, although it's not exactly what I need in this case
<FromGitter>
<nanobowers> output truncated, there was more
<FromGitter>
<Blacksmoke16> Best bet would be try and reduse it as much as you can to figure out the root cause
<FromGitter>
<nanobowers> I *think* i accidentally did it by calling `super()`, instead of `super` or `super(a,b,c...)` which seems to compile fine, but i can only assume that super() is calling all the way back to Object#initialize and not setting any of the instance variables that the superclass wouldve been setting had I actually been calling that super
<FromGitter>
<Blacksmoke16> that would make sense
<FromGitter>
<Blacksmoke16> well no, test i did i get an error because of no overload
<FromGitter>
<Blacksmoke16> id still try and get a minimally reproducing program