Skip to content

Comments

feat: Repack streams before storing them#43

Merged
ieedan merged 1 commit intomainfrom
repack-streams
Feb 5, 2026
Merged

feat: Repack streams before storing them#43
ieedan merged 1 commit intomainfrom
repack-streams

Conversation

@ieedan
Copy link
Owner

@ieedan ieedan commented Feb 5, 2026

Previously we just stored the stream how it came in so:

rd5: hello rd7:  world

But we can improve the parsing performance and full text search by simply optimizing this before it's stored to the database. (It will also save us some storage)

So the stream will be collapsed into:

rd: 12 hello world

@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
finalchat Ready Ready Preview, Comment Feb 5, 2026 3:47pm

Request Review

@ieedan ieedan merged commit 7052770 into main Feb 5, 2026
2 checks passed
@ieedan ieedan deleted the repack-streams branch February 5, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant