<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Small-Vector on Pi Stack</title>
    <link>https://www.pistack.xyz/tags/small-vector/</link>
    <description>Recent content in Small-Vector on Pi Stack</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 29 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.pistack.xyz/tags/small-vector/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>C&#43;&#43; Small Vector Optimization: Boost small_vector vs LLVM SmallVector vs Folly small_vector vs Abseil InlinedVector</title>
      <link>https://www.pistack.xyz/posts/2026-06-29-cpp-small-vector-optimization-boost-smallvector-llvm-folly-abseil/</link>
      <pubDate>Mon, 29 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://www.pistack.xyz/posts/2026-06-29-cpp-small-vector-optimization-boost-smallvector-llvm-folly-abseil/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;The Small Vector Optimization (SVO) — also known as Small Buffer Optimization (SBO) — is one of the most impactful performance patterns in C++ systems programming. The insight is simple: most vectors in real-world programs contain very few elements (often 0-8). Rather than allocating heap memory for every vector, SVO libraries embed a small stack-allocated buffer directly inside the container object, only falling back to heap allocation when the element count exceeds the inline capacity.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
