diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-02-01 07:00:40 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-02-01 11:19:17 -0500 |
commit | 15152c2f2e169e824f8a1da400b8c3a0b195f8f4 (patch) | |
tree | 4b9230a9a0d74fcf866f28273ea32b292b0e7808 /dstring.c | |
parent | 113edac300ca54359d34c748c2b7057ba493ab4e (diff) | |
download | bfs-15152c2f2e169e824f8a1da400b8c3a0b195f8f4.tar.xz |
bftw: Open-code the "."/".." checks
GCC doesn't (yet) produce very fast code for strcmp() against constant
strings (see https://gcc.gnu.org/PR78809), so hand-coding the comparison
manually helps significantly.
Diffstat (limited to 'dstring.c')
0 files changed, 0 insertions, 0 deletions