What is Nostr?
Lili /
npub1zna…yk29
2024-12-08 13:40:09
in reply to nevent1q…xxyt

Lili on Nostr: nprofile1q…qrcc0 speed In C, if I do a/b where both are integers, I assume the ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqdhnn6acp8d933rcmkrw8vceqfhyfr26jw4a9katmwqhqelwkc50swqrcc0 (nprofile…rcc0) speed
In C, if I do a/b where both are integers, I assume the compiler to use DIV x86 instruction, while on floats, I assume it'll use slower FDIV and then, for converting to int, I think FIST (definitely not the fastest method of doing that from the quick Google)
There wasn't a task this year in which it would matter, but if you operate on a huge set of numbers, it can cumulate.
Author Public Key
npub1znaq54nlwak9ektwmtv9yexldqsumrs4p5na3s5swq062d7pu4zsmzyk29