<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Criterion on wid's blog</title><link>https://wid-blog.github.io/en/tags/criterion/</link><description>Recent content in Criterion on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 17 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/criterion/index.xml" rel="self" type="application/rss+xml"/><item><title>Rust Memory Layout and Allocation</title><link>https://wid-blog.github.io/en/posts/tech/language/rust-memory-layout/</link><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/language/rust-memory-layout/</guid><description>The same three-field struct takes 12 bytes when it keeps declaration order and 8 when the compiler picks the order. Option&amp;lt;&amp;amp;T&amp;gt; is 8 bytes like the pointer itself, with no tag, and a Vec keeps 24 bytes on the stack and its elements on the heap. Sizes were checked with size_of and the effect of removing allocations with criterion. The eighth post in a Rust study series.</description></item></channel></rss>