aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2023-05-30 14:58:12 -0500
committerAnthony Wang2023-05-30 14:58:12 -0500
commit1db25e6c5463be869e755ccdf1ee83b1e0a087f9 (patch)
treeee5c2f5ef2a031fd78c80355512c9999d1be8b83
parent9f316d8e6ea52518316dec0a320d51c8a866446e (diff)
Update README with latest performance test information
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 360f429..62d14b0 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# SDC
-C port of [SD](https://git.exozy.me/a/SD), a very efficient flash cards app
+This is a C port of [SD](https://git.exozy.me/a/SD), a very efficient (and a tiny bit overengineered) flash cards app.
## Usage
@@ -12,7 +12,7 @@ If you're wondering where the name came from, this is the C port of [SD](https:/
## Performance
-SD is designed to be extremely efficient in order to support a very large number of flash cards and should be able to handle millions of cards with ease. If `N` is the number of cards, initializing the program requires `O(N)` time and `O(N)` memory. Selecting a random card and adjusting its weight requires `O(log N)` time. Internally SD uses [segment trees](https://en.wikipedia.org/wiki/Segment_tree) to achieve this time complexity.
+SD is designed to be extremely efficient and [supports decks with hundreds of millions of flash cards](test.py). If `N` is the number of cards, initializing the program requires `O(N)` time and `O(N)` memory. Selecting a random card and adjusting its weight requires `O(log N)` time. Internally SD uses [segment trees](https://en.wikipedia.org/wiki/Segment_tree) to achieve this time complexity.
Some benchmark results using 10 card updates:
```