]> Kevux Git Server - fll/commit
Progress: Begin simplifying memory design, starting with f_number_unsigned_t array...
authorKevin Day <kevin@kevux.org>
Sun, 6 Aug 2023 00:43:19 +0000 (19:43 -0500)
committerKevin Day <kevin@kevux.org>
Sun, 6 Aug 2023 00:43:19 +0000 (19:43 -0500)
commit38e4397aa9645e13b79ac9bd6f7de649973fe769
tree9ea33d8159bd6d352c94d1e9261e528c09dff76a
parent12d2035796d530ccba153da718ef656859f40682
Progress: Begin simplifying memory design, starting with f_number_unsigned_t array structures.

I find that the use of custom per-type functions to simplify the usability of the library.
I also find that this increases the complexity and size of the code base.

I believe that over time this will become more complex and even harder to maintain.
I have decided to start changing the design to go back to simple allocation methods that just require more variables.
This simplifies the code and in theory will make it faster by having fewer function calls on the stack.
This may even reduce the resulting binary size (and I hope it does).

The down side is that the users of the library will once more have longer function call lines.

This commit is the beginning of the redesign process.

I also added the "append" and "append all" methods for f_memory_array calls.
40 files changed:
build/level_0/settings
build/monolithic/settings
build/stand_alone/byte_dump.settings
build/stand_alone/fake.settings
build/stand_alone/firewall.settings
build/stand_alone/utf8.settings
level_0/f_console/c/console.c
level_0/f_console/c/console/common.c
level_0/f_console/c/console/common.h
level_0/f_file/c/file/stream.c
level_0/f_iki/c/iki/common.h
level_0/f_iki/c/iki/data.c
level_0/f_iki/c/iki/data.h
level_0/f_iki/c/iki/private-data.c
level_0/f_iki/c/iki/private-data.h
level_0/f_iki/c/private-iki.h
level_0/f_type_array/c/type_array/common.h
level_0/f_type_array/c/type_array/number_unsigned.c
level_0/f_type_array/c/type_array/number_unsigned.h
level_0/f_type_array/c/type_array/private-number_unsigned.c [deleted file]
level_0/f_type_array/c/type_array/private-number_unsigned.h [deleted file]
level_0/f_type_array/data/build/settings
level_0/f_type_array/data/build/settings-mocks
level_1/fl_fss/c/fss/embedded_list.c
level_2/fll_fss/c/fss.c
level_3/control/c/main/common.c
level_3/control/c/main/common/type.c
level_3/control/c/main/common/type.h
level_3/controller/c/common/private-cache.c
level_3/controller/c/common/private-cache.h
level_3/controller/c/common/private-process.c
level_3/controller/c/rule/private-rule.c
level_3/controller/c/thread/private-thread.c
level_3/fake/c/main/build/load.c
level_3/fake/c/main/common.c
level_3/fake/c/main/common.h
level_3/fake/c/main/make/load_fakefile.c
level_3/fake/c/main/make/operate.c
level_3/firewall/c/private-firewall.c
level_3/fss_read/c/main/common/type.c