

Schrödinger? I hardly know her! September 8th, 2016Īt very small scales, particles are described by wavefunctions that obey the Schrödinger Equation.It tricked all the engines, and even itself. JavaScript's Tricky Rounding April 24th, 2018.My least favorite Rust type is std::ops::Range. My Least Favorite Rust Type September 20th, 2020.
#Hex fiend load table code
A followup post provides code to take advantage of that improvement. This post tries to make Algorithm D approachable, and also has an idea for an improvement, in the last section. Labor of Division (Episode IV): Algorithm D April 28th, 2021Īlgorithm D is Knuth's celebrated multiword integer division algorithm.I am optimistic that these ideas are original. This post presents a narrowing division algorithm, improving upon the widely used “divlu” function from Hacker’s Delight. Last post explored Algorithm D, and some improvements for the 3 ÷ 2 = 1 digit case. Labor of Division (Episode V): Faster Narrowing Division April 29th, 2021.It works by replacing divide instructions with cheaper multiplications and shifts.

Libdivide is fish’s library for speeding up integer division by runtime constants.
