mzaks / compact-dict
A fast and compact Dict implementation in Mojo 🔥
Over time
2024-02-18 to 2025-08-03; peak 3,254 lines
2024-02-18 to 2025-08-03; 42 commits, counted up by commit date
- Opened 9
- Closed or merged 6
2024-02-23 to 2025-08-03; 9 issues and pull requests opened (5 issues, 4 pull requests), from GitHub by mojo_issues
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| dorjeduck/mojo-dictionary-benchmarks | benchmarking various Mojo dictionary implementations | 91% |
| melodyogonna/mojson | A simple JSON Parser for Mojo | 87% |
| TomLo-FStack/mojo-data-structures-50 | Mojo implementations for 50 classic data-structure LeetCode problems. | 86% |
| omarelb/bktree.mojo | A mojo implementation of BKTrees. | 86% |
| MVPavan/mojos | Collection of mojo codes | 86% |
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
36 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
4 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.
Issues and pull requests
3 open and 2 closed issues; 0 open, 4 merged and 0 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 7 | How to install this library? | 2025-07-11 | – | 0 |
| 6 | Heterogeneous dict? | 2024-05-30 | – | 1 |
| 2 | Metaprogramming | 2024-02-25 | – | 2 |
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 9 | Fixed the conflict of dir name `utils` with stdlib utils | 2025-08-03 | merged | 2 |
| 8 | Upgrade to Mojo 25.5.0.dev2025072405 | 2025-07-30 | merged | 1 |
| 4 | missing capacity keyword | 2024-04-29 | merged | 0 |
| 1 | Update README.md | 2024-02-23 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2025-07-31 | mojo_version | – | 25.5.0.dev2025072405 | 3002f70c19 |
| 2025-07-31 | tooling | none | pixi | 3002f70c19 |
Commits
Commit types: Feature 36% · Fix 10% · Mojo version 7% · Refactor 12% · Docs 5% · Tests 2% · Merge 10% · Other 19%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2025-08-03 | 58c276004c | Merge | Merge pull request #9 from gustawdaniel/main | 3,254 | pixi | 25.5.0.dev2025072405 |
| 2025-07-31 | 3002f70c19 | Merge | Merge pull request #8 from gustawdaniel/main | 3,252 | pixi | 25.5.0.dev2025072405 |
| 2024-06-29 | 9df2d21098 | Feature | Create LICENSE | 3,181 | none | – |
| 2024-06-03 | e12c3f113f | Feature +tests | Introduce values iterator for multi dict | 3,181 | none | – |
| 2024-06-03 | 9d6852307b | Fix +tests | fix for latest nightly | 3,091 | none | – |
| 2024-05-26 | f42382c4e4 | Feature +tests | Introduce clear methos and provide better naming | 3,072 | none | – |
| 2024-05-26 | 1bff2f84c4 | Fix | call upsert test | 3,022 | none | – |
| 2024-05-26 | c07f256b7c | Refactor +tests | Update to work with current nightly | 3,012 | none | – |
| 2024-05-08 | ac3474b655 | Fix +tests | generic dict put returns True when valeu was inserted and not updated | 2,980 | none | – |
| 2024-05-08 | c792fea963 | Mojo version +tests | Update to work with latest Mojo version. Created multiple TODO notes | 2,953 | none | – |
| 2024-04-30 | f307c61643 | Other | check if destructive at compile time | 2,914 | none | – |
| 2024-04-29 | 064f63e028 | Merge | Merge pull request #4 from dorjeduck/add-capacity-argument | 2,912 | none | – |
| 2024-03-29 | 07ed0531a6 | Mojo version +tests | Update for version 24.2. | 2,912 | none | – |
| 2024-03-24 | 0566a8c1b0 | Feature | Add benchmark reports for intel i7 | 2,942 | none | – |
| 2024-03-24 | 3221bd9fe0 | Feature | generate benchmark report for string dict | 2,940 | none | – |
| 2024-03-08 | b4138bfa45 | Refactor | remove StringKey as it is not needed anymore | 2,311 | none | – |
| 2024-03-08 | 7f0b93a71a | Other | let to var conversion | 2,328 | none | – |
| 2024-03-08 | fae90449d2 | Refactor | remove empty new line in corpora | 2,328 | none | – |
| 2024-03-02 | 298d643e5f | Docs | Note about a bug in Mojo 24.1 | 2,328 | none | – |
| 2024-03-02 | 99805a1fdf | Refactor | import Path | 2,328 | none | – |
| 2024-03-02 | 20e4b7c4cf | Mojo version | update string dict to mojo version 24.1 | 2,328 | none | – |
| 2024-02-24 | bda76bc976 | Feature +tests | Introduce multi-dict | 2,328 | none | – |
| 2024-02-23 | c868278581 | Merge | Merge pull request #1 from VCasecnikovs/patch-1 | 1,808 | none | – |
| 2024-02-23 | 1e44323715 | Other | introduced __contains__ to dicts | 1,808 | none | – |
| 2024-02-23 | f8fc969945 | Feature +tests | add get method to sparse array | 1,817 | none | – |
| 2024-02-23 | a747843484 | Other +docs | set values capacity to provided capacity | 1,801 | none | – |
| 2024-02-23 | d1c8922f1b | Feature +tests | Add sparse array | 1,801 | none | – |
| 2024-02-20 | 1a6136a770 | Other | select a favorable coprus | 1,666 | none | – |
| 2024-02-20 | 3585c653e8 | Docs | Update README.md | 1,666 | none | – |
| 2024-02-20 | c3edd24921 | Feature | add README | 1,666 | none | – |
| 2024-02-20 | 0fc529333d | Other | shift instead of floor div | 1,666 | none | – |
| 2024-02-20 | 24e5ea08de | Refactor | reduce bytes count for single key builder | 1,666 | none | – |
| 2024-02-20 | c1715133de | Fix | fix delete benchmark | 1,666 | none | – |
| 2024-02-20 | 1876941f9f | Feature | introduce generic dict | 1,672 | none | – |
| 2024-02-20 | 5b657c7c8c | Feature +tests | add parameter for caching hashes | 804 | none | – |
| 2024-02-19 | 2c26d7681f | Other | better parameter naming | 710 | none | – |
| 2024-02-19 | 59478dd7b1 | Feature +tests | add non destructive parameter to avoid wasting space for deleted mask | 710 | none | – |
| 2024-02-19 | 33784efd45 | Other | benchmark delete and read after delete | 669 | none | – |
| 2024-02-19 | e67b2bc39f | Tests | Test delete and add | 630 | none | – |
| 2024-02-18 | 0b9dbd8d7a | Feature | Add parametrization for hash count/offset types | 612 | none | – |
| 2024-02-18 | fda4184b60 | Feature | add reference to aHash repo | 518 | none | – |
| 2024-02-18 | 567a4d847d | Feature +docs | first commit | 516 | none | – |