lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am Fr., 20. Jan. 2023 um 17:23 Uhr schrieb game frog
<froggame505384662@gmail.com>:
>
>  I found this explanation on this webpage
> https://answerbun.com/stack-overflow/why-is-__int128_t-faster-than-long-long-on-x86-64-gcc/

... really funny / interesting. So speciality on Intel CPU but not on
AMD, I would not have thought this... .

div of course always ist th the hardest operation - principally every
CPU does this like you learn "devide by hand" in the grammar school
... . It needs many multiply operations (typically ca. the number you
bits you want to devide... but some CPUs have "tricks" / do part of
the work in Silicon in parallel).

thank you for this interesting input.

... but why are you interested SO much in this ... do you have any
problems with this hash function, any timing problems?