swig/Source
Olly Betts 5a96a39aa4 Adjust the DOH string hash function
The one we're currently using only considers the last five characters
plus the least significant bit of the last-but-sixth character, which
unsurprisingly generates a lot of many-way collisions.

This change seems to give about a 4% reduction in wallclock time for
processing li_std_list_wrap.i from the testsuite for Python.  The
hash collision rate for this example drops from 39% to 0!

Closes #2303
2022-07-07 11:50:00 +12:00
..
CParse Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
DOH Adjust the DOH string hash function 2022-07-07 11:50:00 +12:00
Doxygen Recognise and ignore Doxygen group commands @{ and @} 2022-04-07 12:05:54 +12:00
Include Add support for wchar_t * and std::wstring Unicode strings on Linux 2022-05-02 21:08:19 +01:00
Modules [Go] #2245 Handle NULL pointers for string* conversions. 2022-07-05 17:00:48 -07:00
Preprocessor Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
Swig Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
Makefile.am Remove -browse command line option 2022-04-03 08:56:07 +12:00
README Remove details of long-removed directories 2021-05-16 08:42:39 +12:00

SWIG Source directory

 Source/DOH          -  A core set of basic datatypes including
                        strings, lists, hashes, and files.  Used
                        extensively by the rest of SWIG.

 Source/Swig         -  Swig core. Type-system, utility functions.

 Source/Preprocessor -  SWIG C Preprocessor

 Source/CParse       -  SWIG C Parser (still messy)

 Source/Modules      -  Language modules.

 Source/Include      -  Include files.