-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S-Expression: Minimize lag when parsing level names
`sexp::Parser` now supports specifying a custom `depth` property for omitting (not parsing) structures deeper than `depth` in the tree, starting from 0. This optimizes parsing level names from level files a ton, since level files tend to be very big and used to take a while to parse collectively.
- Loading branch information
1 parent
00d2ff9
commit f74b4ec
Showing
5 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
Submodule sexp-cpp
updated
31 files
+0 −35 | .appveyor.yml | |
+2 −1 | .clang-tidy | |
+1 −0 | .gitattributes | |
+2 −0 | .gitignore | |
+0 −68 | .gitlab-ci.yml | |
+3 −6 | .gitmodules | |
+0 −76 | .travis.yml | |
+43 −91 | CMakeLists.txt | |
+1 −0 | VERSION | |
+0 −1 | external/benchmark | |
+0 −1 | external/googletest | |
+1 −0 | external/tinycmmc | |
+84 −0 | flake.lock | |
+24 −0 | flake.nix | |
+35 −0 | include/sexp/fwd.hpp | |
+8 −5 | include/sexp/parser.hpp | |
+14 −0 | include/sexp/value.hpp | |
+40 −0 | mk/cmake/TinyCMMC.cmake | |
+8 −0 | pkgconfig/sexp.pc.in | |
+6 −0 | sexp-config.cmake.in | |
+29 −0 | sexpcpp.nix | |
+10 −2 | src/float.cpp | |
+1 −1 | src/lexer.cpp | |
+86 −19 | src/parser.cpp | |
+2 −2 | src/util.cpp | |
+0 −3 | src/value.cpp | |
+23 −12 | tests/float_test.cpp | |
+9 −5 | tests/io_test.cpp | |
+42 −15 | tests/parser_test.cpp | |
+3 −2 | tests/util_test.cpp | |
+4 −4 | tests/value_test.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters