<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bit-Manipulation on rustbites</title><link>https://www.rustbites.com/tags/bit-manipulation/</link><description>Recent content in Bit-Manipulation on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 19 Jun 2026 15:52:53 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/bit-manipulation/index.xml" rel="self" type="application/rss+xml"/><item><title>210. next_power_of_two — Round Up to a Power of Two Without the Bit-Twiddling</title><link>https://www.rustbites.com/posts/bite-210/</link><pubDate>Thu, 18 Jun 2026 17:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-210/</guid><description>&lt;p&gt;Sizing a buffer or hash table to the next power of two is a classic — and people keep reinventing it with shifts and &lt;code&gt;leading_zeros&lt;/code&gt;. The standard library already has it.&lt;/p&gt;</description></item></channel></rss>