Explore >> Select a destination


You are here

tannerdolby.com
| | arnorhs.dev
6.6 parsecs away

Travel
| | I read somewhere that a bitwise left shift was a faster method of removing a fraction of a floating point number in Javascript than using parseInt or Math.floor(). I wasn't surprised that parseInt was slow, since I think it parses the number as a string, but the left shift being faster than Math.floor() was a bit more puzzling to me. So I decided to make a JSPerf test to compare those three methods. Read on for the full results
| | pavpanchekha.com
8.7 parsecs away

Travel
| |
| | fernandocorreia.dev
10.7 parsecs away

Travel
| | This is part 23 of my journey learning Golang. Random number generators For some kinds of programs, like simulations, games, or test code, it is useful to be ...
| | www.righto.com
97.1 parsecs away

Travel
| Like most processors, the Intel 8086 (1978) provides registers that are faster than main memory. As well as the registers that are visibl...