This commit inlines several small utility functions, namely remove_spaces, get_verbose, and cnc_strdup, directly within their respective header files to potentially reduce function call overhead and improve performance. By making these functions inline, we hint to the compiler that it should attempt to embed these functions directly at the call site, which can lead to faster execution for these frequently used utilities.
This commit inlines several small utility functions, namely
remove_spaces
,get_verbose
, andcnc_strdup
, directly within their respective header files to potentially reduce function call overhead and improve performance. By making these functions inline, we hint to the compiler that it should attempt to embed these functions directly at the call site, which can lead to faster execution for these frequently used utilities.