Commit 6c1ffa9
refactor: slim project to lean C++17 lab (Occam's razor)
Remove over-engineering for a hobby/learning project:
- Delete VitePress docs site (docs/, root package.json, 9632 lines),
bilingual README (keep Chinese-only), and ADRs.
- Delete governance docs (CODE_OF_CONDUCT, SECURITY, CONTEXT,
CONTRIBUTING) and .devcontainer/.
- Remove Streaming state-machine layer (encoder.hpp with
State/Encoder/Decoder abstract classes, BufferEncoder/BufferDecoder
wrappers). encode_buffer/decode_buffer now take a BufferTransform
function pointer directly — algorithms never used the streaming
interface.
- Prune StatusCode enum to used values (OK/ERR_CORRUPT/ERR_SIZE_LIMIT);
drop unused INITIAL_DECODE_OVERHEAD constant.
- Merge CI into single ci.yml (remove ci-docs, codeql, docs-pages).
- Simplify issue/PR templates (drop Go/Rust/OpenSpec/streaming refs).
Binary format contract preserved (magic bytes, frequency table LE
layout, RLE pair layout, 4 GiB/1 GiB limits). 4 algorithms unchanged
(720 lines).
shared layer: 1183 -> 735 lines. Net: -16627 lines.
Verified: make test (36 CLI smoke + unit tests), make lint, 4-algo
round-trip.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent f51d186 commit 6c1ffa9
98 files changed
Lines changed: 77 additions & 16627 deletions
File tree
- .devcontainer
- .github
- ISSUE_TEMPLATE
- workflows
- docs
- .omc/state
- .vitepress
- data
- theme
- components
- styles
- utils
- adr
- en
- academy
- algorithms
- api
- architecture
- benchmarks
- guide
- reference
- release-notes
- public
- scripts
- tests
- zh
- academy
- algorithms
- api
- architecture
- benchmarks
- guide
- reference
- release-notes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
11 | 9 | | |
12 | | - | |
13 | 10 | | |
14 | | - | |
| 11 | + | |
15 | 12 | | |
16 | 13 | | |
17 | | - | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | | - | |
23 | | - | |
| 18 | + | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
31 | | - | |
| 26 | + | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| |||
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
41 | | - | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments