commit | ab6a8fb932748faa29f1869935a90e564a85a13a | [log] [tgz] |
---|---|---|
author | djasper <djasper@google.com> | Mon Mar 23 08:09:32 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 23 08:10:58 2020 -0700 |
tree | 5ac0334105e6099398b9b6809cc6581bf7971f9c | |
parent | 21577f202eb90ce94a337ebd2ede824d609537b6 [diff] |
Improve memory footprint of CcToolchainVariables. Specifically use a single map to store both String and VariableValue instances. The small maps otherwise have a significant overhead. Also use ImmutableSortedMap instead of ImmutableMap to further reduce memory footprint. RELNOTES: None. PiperOrigin-RevId: 302435366
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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