<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2026-04 on Andrey's Notes on Everything</title><link>https://blog.dmitriev.de/archives/2026-04/</link><description>Recent content in 2026-04 on Andrey's Notes on Everything</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 02 Apr 2026 17:25:45 +0200</lastBuildDate><atom:link href="https://blog.dmitriev.de/archives/2026-04/index.xml" rel="self" type="application/rss+xml"/><item><title>Multiply by De Bruijn sequence and lookup index</title><link>https://blog.dmitriev.de/rust/0001-deb/</link><pubDate>Thu, 02 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog.dmitriev.de/rust/0001-deb/</guid><description>&lt;p>Computing the base‑2 logarithm of an integer (more precisely: finding the index of the highest set bit) is a common operation in systems programming, graphics, data compression, and low‑level algorithms. While Rust provides methods like u32::leading_zeros(), sometimes you may want your own implementation—especially an approach that is branch‑free, fast, and works on all stable targets.&lt;/p></description></item></channel></rss>