lua-users home
lua-l archive

Re: [ANN] Lua 5.3.0 (work2) now available

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


> Let’s be clear, arithmetic shift is a useful tool as a low-level
> operation for more than just shorthand division — this is the
> reason it exists as a basic operation in every mainstream CPU
> architecture. I’ve used it over the years for the signum function
> (where is works very well indeed) optimized bit-counting etc etc. It
> should be noted that almost all these uses are where performance is
> hyper-critical.
Just for curiosity, do you remember those techniques?
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /