diff options
| author | Tyge Løvset <[email protected]> | 2020-06-21 23:26:54 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-21 23:26:54 +0200 |
| commit | 945052d495f38371bceed66cc3ed9ae66c7bd651 (patch) | |
| tree | e470138a62b01e18eb4e96fa8dc0feffe531bb7d | |
| parent | 3cf88b5db9b39a739ab9b8c17e0773d589eddc05 (diff) | |
| download | STC-modified-945052d495f38371bceed66cc3ed9ae66c7bd651.tar.gz STC-modified-945052d495f38371bceed66cc3ed9ae66c7bd651.zip | |
Update README.md
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -94,10 +94,10 @@ The containers are memory efficent. E.g. the circular list is intrusive so only - **CHash set**: Representation: 4 pointers size. The hash table stores a key per bucket, and one table of "used/hash-value", occupying only one byte per bucket.
- **CHash map**: Same as CHash set, but each bucket in the array stores a (key, value) pair, not only the key.
-Examples
---------
+Demos
+-----
-**CString** demo
+**CString**
```
#include <stc/cstring.h>
@@ -232,7 +232,7 @@ int main() { clist_i_destroy(&list);
}
```
-**CArray** demo
+**CArray**
```
#include <stc/carray.h>
declare_CArray(f, float);
|
