beyond-all-reason / beyond-all-reason/demo-parser

Switch to streaming decompression

Open
#30 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Right now full replay is decompressed, and then parsed.

It's quite wasteful both from memory usage perspective, but also when somebody just wants to read header and that's it.

This issue is to switch replay parsing to streaming decompression.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the replay parsing entry point and the current path that fully decompresses an .sdfz demo before parsing. Update the flow so decompression is consumed incrementally, including when only the header is requested, and verify that full replay parsing still works without loading the entire decompressed replay into memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.