refactor(readme): add notes, improve features section
This commit is contained in:
@@ -5,13 +5,21 @@ A small, personal C library for learning and experimentation.
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
All the features listed are Thread-safe.
|
Most core containers use internal locks for single-object operations.
|
||||||
|
Cross-object operations can still require caller-side synchronization.
|
||||||
|
|
||||||
- Hashmaps
|
- Hashmaps
|
||||||
- Strings
|
- Strings
|
||||||
- Circular queues
|
- Circular queues
|
||||||
- Vectors
|
- Vectors
|
||||||
- Stack
|
- Stack
|
||||||
|
- Set
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
|
||||||
|
- Hashmap keys/values are copied as raw bytes (`memcpy`) using `key_size`/`value_size`.
|
||||||
|
- For C-string keys, provide a readable key buffer of at least `key_size` bytes.
|
||||||
|
- The set module is basic and intentionally minimal.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user