]> Kevux Git Server - fll/commit
Cleanup: used !x instead of x == 0.
authorKevin Day <thekevinday@gmail.com>
Mon, 21 Sep 2020 00:55:01 +0000 (19:55 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 21 Sep 2020 00:55:01 +0000 (19:55 -0500)
commit8854606aff171f38311e3f115f2624957dba9b44
tree2aadcb34b6ca40c28d4daa2c1d8e5eed1f680a9d
parentbd28b25c49952415b6e234890789d1396f3aa197
Cleanup: used !x instead of x == 0.

This is a better practice.
While a compiler nowadays might optimize x == 0, it is better practice to use !x to represent the logic and reasoning.
One should always be aware of simple performance optimizations and practices, even if it might just be compiled away, if the readability is not too difficult.
74 files changed:
level_0/f_console/c/console.c
level_0/f_conversion/c/conversion.c
level_0/f_directory/c/directory.c
level_0/f_directory/c/directory_type.h
level_0/f_directory/c/private-directory.c
level_0/f_environment/c/environment.c
level_0/f_environment/c/private-environment.c
level_0/f_file/c/file.c
level_0/f_file/c/private-file.c
level_0/f_fss/c/fss.c
level_0/f_fss/c/fss_named.h
level_0/f_fss/c/fss_nest.h
level_0/f_fss/c/fss_set.h
level_0/f_iki/c/iki.c
level_0/f_memory/c/memory-structure.h
level_0/f_memory/c/memory.c
level_0/f_path/c/path.c
level_0/f_print/c/print.c
level_0/f_print/c/private-print.c
level_0/f_serialize/c/serialize.c
level_0/f_string/c/string_dynamic.h
level_0/f_string/c/string_map.h
level_0/f_utf/c/private-utf.c
level_0/f_utf/c/utf-common.h
level_0/f_utf/c/utf.c
level_1/fl_color/c/color.c
level_1/fl_console/c/console.c
level_1/fl_conversion/c/conversion.c
level_1/fl_directory/c/directory.c
level_1/fl_directory/c/private-directory.c
level_1/fl_environment/c/environment.c
level_1/fl_fss/c/fss_basic.c
level_1/fl_fss/c/fss_basic_list.c
level_1/fl_fss/c/fss_extended.c
level_1/fl_fss/c/fss_extended_list.c
level_1/fl_fss/c/private-fss.c
level_1/fl_print/c/print.c
level_1/fl_status/c/status.c
level_1/fl_string/c/private-string.c
level_1/fl_string/c/string.c
level_1/fl_utf/c/private-utf.c
level_1/fl_utf/c/utf.c
level_1/fl_utf_file/c/private-utf_file.c
level_1/fl_utf_file/c/utf_file.c
level_2/fll_execute/c/execute.c
level_2/fll_fss/c/fss.c
level_2/fll_fss/c/fss_basic.c
level_2/fll_fss/c/fss_basic_list.c
level_2/fll_fss/c/fss_extended.c
level_2/fll_fss/c/fss_extended_list.c
level_2/fll_fss/c/fss_status.c
level_2/fll_path/c/path.c
level_2/fll_program/c/program.c
level_2/fll_status/c/status.c
level_3/byte_dump/c/private-byte_dump.c
level_3/fake/c/private-build.c
level_3/fake/c/private-clean.c
level_3/fake/c/private-fake.c
level_3/fake/c/private-make.c
level_3/fake/c/private-skeleton.c
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.h
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.h
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.h
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.h
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/iki_read.h