---
title: "Quamina + Claude, Case 1"
url: https://daily.dev/posts/quamina-claude-case-1-rcpmk46fl
source_url: https://www.tbray.org/ongoing/When/202x/2026/02/06/Q-Plus-C-Ch1
type: article
source: "ongoing by Tim Bray"
published: 2026-03-31T12:27:46.418Z
updated: 2026-03-31T12:37:31.024Z
tags: ["performance", "golang", "claude"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quamina + Claude, Case 1

**[ongoing by Tim Bray](https://daily.dev/sources/tbray)** · 7 min read · 0 upvotes · 0 comments

## Summary

Tim Bray shares a case study of contributor Rob Sayre using Claude to generate performance-improving PRs for Quamina, a Go pattern-matching library. The AI-assisted contributions doubled benchmark speeds by applying standard Go optimization techniques (slice capacity management, avoiding allocations) and discovering non-obvious improvements: pre-computing NFA epsilon closures at build time instead of per-thread at runtime, and replacing a map-based memoization set with a per-state integer generation counter. Bray found the PRs well-commented and mergeable, and describes Rob's workflow of directing Claude through profiling and iterative fixes. The post deliberately avoids conclusions about GenAI, framing it as pure anecdata ahead of two follow-up pieces.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.tbray.org/ongoing/When/202x/2026/02/06/Q-Plus-C-Ch1>

## Similar posts on daily.dev

- [Claude as your performance analysis partner](https://daily.dev/posts/claude-as-your-performance-analysis-partner-indrgfold) · Red Hat Developer · 4 upvotes · 0 comments
- [QConSF 2025 - Developing Claude Code at Anthropic at AI Speed](https://daily.dev/posts/qconsf-2025---developing-claude-code-at-anthropic-at-ai-speed-jxmdbljbf) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#golang](https://daily.dev/tags/golang), [#claude](https://daily.dev/tags/claude)

[View this post on daily.dev](https://daily.dev/posts/quamina-claude-case-1-rcpmk46fl)
