Preprocessor: 1) Rationalize the "fixed atom" scheme, 2) remove redundant...
Preprocessor: 1) Rationalize the "fixed atom" scheme, 2) remove redundant lookups when the text is already available. This simplification is a prelude to eliminating what I appear unnecessary symbol inserts into tables when tokenizing in the preprecessor, which show up as taking notable time. (Performance issue.) It also simply makes the preprocessor easier to understand, which it is badly in need of.
Showing
- glslang/Include/Common.h 1 addition, 0 deletionsglslang/Include/Common.h
- glslang/MachineIndependent/ParseHelper.h 1 addition, 1 deletionglslang/MachineIndependent/ParseHelper.h
- glslang/MachineIndependent/Scan.cpp 31 additions, 26 deletionsglslang/MachineIndependent/Scan.cpp
- glslang/MachineIndependent/preprocessor/Pp.cpp 116 additions, 134 deletionsglslang/MachineIndependent/preprocessor/Pp.cpp
- glslang/MachineIndependent/preprocessor/PpAtom.cpp 28 additions, 28 deletionsglslang/MachineIndependent/preprocessor/PpAtom.cpp
- glslang/MachineIndependent/preprocessor/PpContext.cpp 0 additions, 42 deletionsglslang/MachineIndependent/preprocessor/PpContext.cpp
- glslang/MachineIndependent/preprocessor/PpContext.h 1 addition, 26 deletionsglslang/MachineIndependent/preprocessor/PpContext.h
- glslang/MachineIndependent/preprocessor/PpScanner.cpp 67 additions, 88 deletionsglslang/MachineIndependent/preprocessor/PpScanner.cpp
- glslang/MachineIndependent/preprocessor/PpTokens.cpp 24 additions, 23 deletionsglslang/MachineIndependent/preprocessor/PpTokens.cpp
- glslang/MachineIndependent/preprocessor/PpTokens.h 84 additions, 35 deletionsglslang/MachineIndependent/preprocessor/PpTokens.h
Loading
Please register or sign in to comment