summaryrefslogtreecommitdiff
path: root/src/hash.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename WINDOWS32 macro to MK_OS_W32Paul Smith2023-01-151-1/+1
| | | | | | | | | | * configure.ac: Set MK_OS_W32 to 1 if we're on Windows32. * src/config.h.W32: Ditto. * mk/Windows32.mk: Ditto. * src/makeint.h: Convert #if refs to WINDOWS32, to use MK_OS_W32. * src/*: Ditto. * src/w32/*: Ditto. * gl/lib/*: Ditto.
* Update URLs to use https rather than httpPaul Smith2022-10-181-1/+1
| | | | | * (all): Change http:// to https:// * README.W32: Remove invalid link to mingw.org.
* hash: Remove unnecessary isupper() check before tolower()Noah Goldstein2022-04-241-4/+4
| | | | | | | | | | | | | | | | | | The standard requires that tolower() returns its argument if there's no valid lowercase conversion: it's not necessary to check isupper() before invoking tolower(). Comparing the performance of the old ISTRING_HASH to the new one on all the files present in GLIBC. Data Type Old Time New Time Alternating case 24985.754 13883.422 random case 35211.777 13569.051 all lower 18818.974 13706.645 all upper 38859.454 13506.315 * src/hash.h (ISTRING_HASH_1): Omit isupper() check. (ISTRING_HASH_2): Ditto.
* Rework directory structure to use GNU-recommended "src" directory.Paul Smith2017-11-191-0/+234
Move the source code (other than glob) into the "src" subdirectory. Update all scripting and recommendations to support this change. * *.c, *.h, w32/*: Move to src/ * configure.ac, Makefile.am, maintMakefile: Locate new source files. * Basic.mk.template, mk/*: Update for new source file locations. * NEWS, README.DOS.template: Update for new locations. * build.template, build_w32.bat, builddos.bat: Ditto. * po/POTFILES.in: Ditto * tests/run_make_tests.pl, tests/scripts/features/load*: Ditto. * make.1: Move to doc. * mk/VMS.mk: Add support for building on VMS (hopefully). * makefile.vms, prepare_w32.bat: Remove. * SCOPTIONS: Update to define HAVE_CONFIG_H