From 8a5405629f7dcbc2504ac55f57775180a011b846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 7 Nov 2021 00:59:26 +0300 Subject: Fixes and improvements * Fix heap corruption on buffer growth. * Define as static functions that are not used outside a TU. * Other minor changes. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a20da63..72cdadb 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3