/Cinny
/Cinny
@aperture doggirlbot aptr
RE: https://snug.moe/notes/ahlfzrm9hb9rjla0
/Cinny
/Cinny
@ben @roxy also like. multiplication isn’t that slow anymore, even if it’s not optimized away. plenty of cpus, including “slow” ones can do it within only a couple cycles. but ofc actual perf would vary based on other code around it.
x<<2+x could be faster than 2 cycle multiply if the multiplier unit is in use, similarly it could also be slower than it if your instruction sequence is running out of instruction dispatch or retire slots.
similarly adding x to a shifted copy of itself might be one instruction on some ISAs (x86, arm, risc-v with the Zba extension at least for some shift values)
integer divide is still quite slow though
/Cinny
@ben @roxy yeah in python this is basically correct
x % 16 and x & 0xF are basically the same speed, and x << 2 + x is slightly slower than 5x due to having two additional python-level instruction.
in javascript on firefox (which is optimized) x%16 and x&15 are within margin of error and jsbench says that x<<2+x is slower by 2.1% but i doubt that
like yeah they are “clever” but unlikely to have a performance impact unless you specifically measure the code’s performance, otherwise you’ll likely just spend more time writing “clever” code and trying to understand it again later
/Cinny
@EeveeEuphoria @aisling more broadly, a lot of activism is rooted in the folks directly affected by the subject matter. You could argue it’s “selfish” but you are more likely to have a vested interest in a topic that you are directly affected by, and unaffected folks supporting your raccause only happens later
/Cinny
@EeveeEuphoria @aisling I’m thankful you convinced me to try to re-connecting to a (now-shared) friend again. While i didn’t need convincing at that point that what i did was incredibly wrong, i didn’t think they would forgive me
i would say it doesn’t matter if your “good deeds” are selfish, you are helping others with them as well
/Cinny
@r @whitequark 1 A/m seems to correspond to the strength of the H field of a coil of length 1m with 1 turn carrying a current of 1A. is proportional to the current and turn count, inversely proportional to the coil length
/Cinny
Got a bit thirsty, so I decided to have a little drink ;3
/Cinny
@me honestly like i, for reasons cannot wear it all the time and anytime im not wearing it im just yearning to put it back on 
/Cinny
/Cinny
/Cinny
Password found: geschlechtsverkehr
This password would take 3 years to crack, @vita is a pretty entity :3
/Cinny
@whitequark @0xabad1dea a time reversed dogherine who is bad at computers can still be predicted though