commit | fc23edc368244849c59636d1e2ae6c375bebf262 | [log] [tgz] |
---|---|---|
author | laurentlb <laurentlb@google.com> | Tue Jun 05 09:42:59 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Tue Jun 05 09:45:02 2018 -0700 |
tree | 2d742b93785efbd2f1fbe21de03972edd4838d7b | |
parent | c04ce79e4f719df54e3564f58a2ea26529ac1494 [diff] |
Stop allocating new tokens in the lexer There's only one Token and it gets reused. This reduces the memory usage of the lexer. Parsing time seems to be 5%-10% faster with this change on a large file. This makes little difference on the overall performance of Bazel though. RELNOTES: None. PiperOrigin-RevId: 199310860
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.