-
Notifications
You must be signed in to change notification settings - Fork 9
ascii_database_to_c
Vaughan Kitchen edited this page Dec 13, 2016
·
1 revision
As part of the build process, ascii_database_to_c is build and run to generate the tables necessary for the JASS implementations of the ctype methods (the is, its output is ascii.cpp). JASS has its own ctype that is true an accurate for the plain 7-bit ASCII characters, but which can be called for any 8-bit integer.
There are three optimisations over the C runtime library implementation
- Locale ignorance (and so no locale switching is necessary)
- Table driven (and so no comparisons are needed)
- Inline functions (an so no function call occurs)
ascii_database_to_c