<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data-Structures on Nick Liu - Software Engineer</title>
    <link>/tags/data-structures/</link>
    <description>Recent content in Data-Structures on Nick Liu - Software Engineer</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>nickboy@users.noreply.github.com (Nick Liu)</managingEditor>
    <webMaster>nickboy@users.noreply.github.com (Nick Liu)</webMaster>
    <copyright>2026 Nick Liu</copyright>
    <lastBuildDate>Sun, 10 May 2026 22:48:37 -0700</lastBuildDate><atom:link href="/tags/data-structures/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Five Stream Deck keys, N Claude sessions: LRU that keeps the order I see</title>
      <link>/posts/lru-session-eviction/</link>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      <author>nickboy@users.noreply.github.com (Nick Liu)</author>
      <guid>/posts/lru-session-eviction/</guid>
      <description>&lt;div class=&#34;lead text-neutral-500 dark:text-neutral-400 !mb-9 text-xl&#34;&gt;&#xA;  &#xA;A Stream Deck has five session keys. I usually have six or seven Claude&#xA;Code sessions running. When a new one shows up, the muscle memory test&#xA;isn&#39;t &#34;does the right session get evicted&#34; — it&#39;s &#34;do the four&#xA;survivors stay on the keys they were already on.&#34;&#xA;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;(Two bits of context for anyone new to the stack: Stream Deck is Elgato&amp;rsquo;s&#xA;USB grid of programmable LCD keys, and a &amp;ldquo;session&amp;rdquo; here is a single&#xA;Claude Code conversation — &lt;code&gt;claude&lt;/code&gt; running in one terminal tab, with its&#xA;own working directory, its own context window, its own history. LRU&#xA;stands for &amp;ldquo;least-recently used,&amp;rdquo; the standard cache-eviction policy:&#xA;when you need to make room, drop the entry nobody has touched in the&#xA;longest time.)&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
