sergey-sonkin / huffman
figuring out huffman encoding. ideally implement https://www.intel.com/content/www/us/en/developer/articles/technical/fast-computation-of-huffman-codes.html
Over time
2024-11-10 to 2024-12-01; peak 784 lines
2024-11-10 to 2024-12-01; 32 commits, counted up by commit date
mojo_issues hasn't read this repository's issues and pull requests yet.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| helehex/huffman | Huffman Coding | 80% |
| TheAgaveFairy/mojollm | writing a minimal GPT-style decoder LLM from scratch | 71% |
| gsmyridis/bfc | Brainf*uck language compiler | 71% |
| ratulb/chargpt | A character based GPT implementation | 70% |
| ruvasqm/aoc | Learning languages through Advent of Code | 70% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
1 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2024-11-10 | mojo_version | – | 24.5.0 | 3021243991 |
| 2024-11-10 | tooling | none | magic | 3021243991 |
Commits
Commit types: Feature 31% · Fix 13% · Mojo version 3% · Refactor 28% · Docs 3% · Build and chores 3% · Other 19%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2024-12-01 | b9ccc1d380 | Feature +tests | Implemented very basic encoding/decoding | 784 | magic | 24.5.0 |
| 2024-11-30 | 85737353db | Refactor | Refactored print to be more legible | 702 | magic | 24.5.0 |
| 2024-11-30 | 8601c12122 | Feature +tests | Added method to push back entire uint8 | 710 | magic | 24.5.0 |
| 2024-11-27 | 129e277a54 | Refactor | Had to modify heapq.mojo so lsp happy :( | 688 | magic | 24.5.0 |
| 2024-11-27 | 29b90dd89d | Feature | Added to tests.__init__ | 688 | magic | 24.5.0 |
| 2024-11-27 | cd71d70b87 | Other +tests | Completed changed project structure. | 687 | magic | 24.5.0 |
| 2024-11-27 | 96f041103f | Fix | This looks correct to me | 680 | magic | 24.5.0 |
| 2024-11-27 | c89768ef75 | Other | __copy__, push_backc contained duplicate code | 668 | magic | 24.5.0 |
| 2024-11-27 | a275752a60 | Feature | Implemented AWESOME print_tree for debugging | 678 | magic | 24.5.0 |
| 2024-11-27 | f0d86a34c6 | Refactor | is_root could just be a bool | 650 | magic | 24.5.0 |
| 2024-11-27 | eb8a33257c | Docs | Updated notes | 650 | magic | 24.5.0 |
| 2024-11-27 | 711fec7e58 | Feature +tests | Implemented push_backc | 650 | magic | 24.5.0 |
| 2024-11-27 | 228f055f5e | Refactor | Refactored mapping creation. Renamed main -> huffman | 622 | magic | 24.5.0 |
| 2024-11-27 | 14fdc5f957 | Fix | Uncommented case of 0 | 623 | magic | 24.5.0 |
| 2024-11-27 | 41ce6b786f | Refactor | Moved scratched files to seperate directory | 623 | magic | 24.5.0 |
| 2024-11-27 | c1a5910968 | Feature +docs | Scratch files. Adding to tracking | 623 | magic | 24.5.0 |
| 2024-11-27 | c0eeeebe24 | Fix +tests | I might be a genius. | 550 | magic | 24.5.0 |
| 2024-11-27 | e2e278d3d8 | Refactor | Refactored push_back to separate test | 525 | magic | 24.5.0 |
| 2024-11-27 | 60dbedd6e2 | Feature | Added CollectionElement to BitString | 534 | magic | 24.5.0 |
| 2024-11-24 | 5b3cab7e60 | Feature +tests | Implemented BitString __iadd__ | 517 | magic | 24.5.0 |
| 2024-11-24 | f460cf0d88 | Build and chores | Bumped magic.lock | 493 | magic | 24.5.0 |
| 2024-11-16 | 6341b02f10 | Refactor | Refactored to use heap, BitString | 493 | magic | 24.5.0 |
| 2024-11-16 | 8c7dbbc17b | Other | swap is now part of stdlib | 500 | magic | 24.5.0 |
| 2024-11-16 | c4dba9235a | Feature +tests | Implemented BitString class | 501 | magic | 24.5.0 |
| 2024-11-12 | dce8456b5c | Other | Began implementing bitstring | 356 | magic | 24.5.0 |
| 2024-11-12 | 4ff0570861 | Refactor | Turns out there's a builtin bit_width! | 331 | magic | 24.5.0 |
| 2024-11-11 | e875fb7d9a | Refactor | Removed extra bit in last symbol of tree | 328 | magic | 24.5.0 |
| 2024-11-11 | 8d9f493bfd | Other | Correctly encoding messages!!! | 328 | magic | 24.5.0 |
| 2024-11-11 | 60e360422c | Other | I think I got encoding down? | 302 | magic | 24.5.0 |
| 2024-11-10 | a3178db648 | Feature | Created huffman mapping. | 285 | magic | 24.5.0 |
| 2024-11-10 | 5ccaef641f | Fix | Fixed segfault when using pointer on owned var | 267 | magic | 24.5.0 |
| 2024-11-10 | 3021243991 | Mojo version | Init | 270 | magic | 24.5.0 |