Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes various incompatabilities with current versions #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MatthiasWinkelmann
Copy link

This now works for me, with crystal 1.2.2 on macOS Monterey (ARM64), if anyone cares.

I'm not entirely sure if what it's measuring is the so-called "reality". Specifically, the in-memory store is three orders of mag faster for me than redis (1450x, see below). There may be some compiler optimizations going on that completely bypass the work for that implementation.

|                  | set      | get      | get(empty) | delete   |
| ---------------- | -------- | -------- | ---------- | -------- |
| **MemoryStore**  | 16871250 | 30060000 |   29883750 | 20672500 |
| **LevelDBStore** |    12500 |   441250 |     437500 |    50000 |
| **RedisStore**   |    11250 |    11250 |      11250 |     6250 |
| **FileStore**    |     4000 |    18750 |      18750 |    87500 |

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