From 07668aba7590a6dd66b9fbc9badecfbd196db7a7 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Wed, 1 Apr 2020 16:28:13 -0300 Subject: [PATCH] v1.8.0 --- CHANGELOG | 14 ++++++++++++++ README.md | 2 +- TODO | 10 ++++------ 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ad7b4c7..344496f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,19 @@ # RELEASE.MAJOR.MINOR +1.8.0 + Added Function Tables + Added Error Codes + Added Callback Functions + Added custom allocation functions support + Added .clang-format + Added makefile in root folder for automated code formatting + Created into core folder for implementation of common data structures: + - ./cor/core.h + - ./cor/hashtable.h + Documentation changed to mdbook + Removed ./utl/cmc_string.h + Replaced CMC_FOR_EACH and CMC_FOR_EACH_REV by CMC_FOREACH and CMC_FOREACH_REV + 1.7.3 Breaking changes: - ext collections merged to cmc diff --git a/README.md b/README.md index 5698cd5..c4f2603 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@

License - Version + Version travis-ci codecov

diff --git a/TODO b/TODO index 8e07e85..94b5b0d 100644 --- a/TODO +++ b/TODO @@ -7,15 +7,12 @@ TODO [/] Tests [/] Documentation -[/] Callback utility - on_create, on_read, on_update, on_delete, on_resize #!! Medium Priority -------------------------------------------------------------------------------- [ ] Add to_array and from_array functions -[ ] Separate each collection unit test into their own executable -#!! Low Priority ----------------------------------------------------------------------------------- +#!! Being Considered ------------------------------------------------------------------------------- [ ] Serialization [ ] save {all} @@ -24,12 +21,11 @@ TODO [ ] deserialize {all} [ ] Zip Iterators [ ] Consumer Iterators -[ ] Add memory usage in the benchmark #!! Optimizations ---------------------------------------------------------------------------------- [ ] Use binary search to find optimum hashtable prime size inside impl_calculate_size -[ ] Optimize certain loops that use iterators but can simply use a normal loop +[ ] Optimize certain loops that use iterators that can simply use a normal loop [ ] Replace IntervalHeap node by a simple buffer of two pointers (V (*buffer)[2]) #!! Done ------------------------------------------------------------------------------------------- @@ -64,3 +60,5 @@ TODO (compare, copy, display, free, hash, priority) [X] Add error codes that can be accessed from the collection's struct [X] Merge bidirectional map key_buffer and val_buffer to a single buffer and make key_dist and val_dist into dist[2] +[X] Callback utility + on_create, on_read, on_update, on_delete, on_resize