diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-11-03 21:59:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 21:59:44 +0800 |
commit | 48be81e172911eb8cdae8a1ffd0166edfb2cfc04 (patch) | |
tree | 758179767890ba1d1152896da660d85da6a14ce9 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
parent | 03110ddeb2c21d1b500e7f6f6e70134e269738bc (diff) | |
download | llvm-48be81e172911eb8cdae8a1ffd0166edfb2cfc04.zip llvm-48be81e172911eb8cdae8a1ffd0166edfb2cfc04.tar.gz llvm-48be81e172911eb8cdae8a1ffd0166edfb2cfc04.tar.bz2 |
[NFC] [Serializer] Pack information in serializer (#69287)
Previously, the boolean values will occupy spaces that can contain
integers. It wastes the spaces especially if the boolean values are
serialized consecutively. The patch tries to pack such consecutive
boolean values (and enum values) so that we can save more spaces and so
the times.
Before the patch, we need 4.478s (in my machine) to build the std module
(https://libcxx.llvm.org/Modules.html) with 28712 bytes for size of the
BMI. After the patch, the time becomes to 4.374s and the size becomes to
27388 bytes for the size of the BMI.
This is intended to be a NFC patch.
This patch doesn't optimize all such cases. We can do it later after we
have consensus on this.
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions