]> Kevux Git Server - fll/commit
Update: Change logic to avoid potential negative numbers.
authorKevin Day <thekevinday@gmail.com>
Fri, 5 Aug 2022 02:43:12 +0000 (21:43 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 5 Aug 2022 02:43:12 +0000 (21:43 -0500)
commitf064202be6ffd60b8b3fa4d946c8e1799a1caebf
tree7183adc61a7433edab583e1e35ee1b63b7848380
parent6270e599d1d315eddfbab657b50bbbe2130932c2
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.
31 files changed:
level_0/f_account/c/account/accounts.c
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