]> Kevux Git Server - fll/commit
Update: Slightly reduce recursion cost for private_fl_directory_do_recurse().
authorKevin Day <kevin@kevux.org>
Thu, 27 Apr 2023 02:36:41 +0000 (21:36 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 27 Apr 2023 02:36:41 +0000 (21:36 -0500)
commitab94b211d07197134d47e6766f9850f514778593
tree2c1435b4e0a86e29111575a036d15b304ed69261
parent7e051bd9a20ceb9822ca1d49f53666cf59e34c7f
Update: Slightly reduce recursion cost for private_fl_directory_do_recurse().

Make some constant structures static with the goal of reducing the cost of recursion.
Using static should help avoid redeclaring these variables per execution.
This should reduce memory for each recurse into the function.
level_1/fl_directory/c/private-directory.c