commit | a54ccbbe445c73bc120e34a263e3aba0fc556faf | [log] [tgz] |
---|---|---|
author | serge-sans-paille <sguelton@redhat.com> | Tue Apr 13 16:14:32 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:47:08 2021 -0700 |
tree | 41cf7dcb50f272a6a88308007e452f108289e84f | |
parent | bc4bcd90d8221c1f180ca9e9e50a4aa339158716 [diff] |
Simplify BitVector code Instead of managing memory by hand, delegate it to std::vector. This makes the code much simpler, and also avoids repeatedly computing the storage size. According to valgrind --tool=callgrind, this also slightly decreases the instruction count, but by a small margin. Differential Revision: https://reviews.llvm.org/D100387 GitOrigin-RevId: 82f0e3d3ea6bf927e3397b2fb423abbc5821a30f