diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-11-07 00:59:26 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-11-07 00:59:26 +0300 |
commit | 8a5405629f7dcbc2504ac55f57775180a011b846 (patch) | |
tree | d5009f3bce187a92386148b633b59787d6499244 /README.md | |
parent | 33bdfde2be7e1c568d5e12ad1b27b7023dbd1b1b (diff) | |
download | unja-8a5405629f7dcbc2504ac55f57775180a011b846.tar.gz unja-8a5405629f7dcbc2504ac55f57775180a011b846.zip |
Fixes and improvements
* Fix heap corruption on buffer growth.
* Define as static functions that are not used outside a TU.
* Other minor changes.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -57,12 +57,17 @@ int main() { ### Done +* Use FNV1a as hashmap hashing algorithm. * Hashmap capacity can be set programmatically and it grows/shrinks in size when the load increases/decreases to avoid collisions/save memory. * Include guards. +* Fix heap corruption on buffer growth. +* Define as static functions that are not used outside a TU. ### TODO +* Handle empty/non-existent variables +* Handle non-existent templates * Let the library user decide how to handle errors, instead of just aborting the program. * Do not print anything to stdout/stderr. It should be up to the library user to |