]> Kevux Git Server - fll/commit
Update: Change logic to avoid potential negative numbers.
authorKevin Day <thekevinday@gmail.com>
Fri, 5 Aug 2022 02:46:03 +0000 (21:46 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 5 Aug 2022 02:46:03 +0000 (21:46 -0500)
commit6a277ac5e6178fbd55874bc2cb6763ae9a8a1531
tree69b6eeacfe2a9fee9b7d733ccdd70cace497ad5b
parentd1b3302aa193e59097c67c8f3d7c976b961188b8
Update: Change logic to avoid potential negative numbers.

Avoid using a subtraction.
Instead just use a comparison.
This should be more performant and also avoids potential negative numbers when dealing with unsigned numbers.
30 files changed:
level_0/f_fss/c/fss/named.c
level_0/f_fss/c/fss/nest.c
level_0/f_iki/c/iki/data.c
level_0/f_limit/c/limit/set.c
level_0/f_limit/c/limit/value.c
level_0/f_string/c/string/dynamic.c
level_0/f_string/c/string/map.c
level_0/f_string/c/string/map_multi.c
level_0/f_string/c/string/quantity.c
level_0/f_string/c/string/range.c
level_0/f_string/c/string/triple.c
level_0/f_thread/c/thread/attribute.c
level_0/f_thread/c/thread/barrier.c
level_0/f_thread/c/thread/barrier_attribute.c
level_0/f_thread/c/thread/condition.c
level_0/f_thread/c/thread/condition_attribute.c
level_0/f_thread/c/thread/id.c
level_0/f_thread/c/thread/key.c
level_0/f_thread/c/thread/lock.c
level_0/f_thread/c/thread/lock_attribute.c
level_0/f_thread/c/thread/mutex.c
level_0/f_thread/c/thread/mutex_attribute.c
level_0/f_thread/c/thread/once.c
level_0/f_thread/c/thread/semaphore.c
level_0/f_thread/c/thread/set.c
level_0/f_thread/c/thread/spin.c
level_0/f_utf/c/utf/dynamic.c
level_0/f_utf/c/utf/map.c
level_0/f_utf/c/utf/map_multi.c
level_0/f_utf/c/utf/triple.c