Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clang-format c/cpp files in test directory (#4192) | Heejin Ahn | 2021-09-29 | 1 | -4/+2 |
| | | | | | | | | | This clang-formats c/cpp files in test/ directory, and updates clang-format-diff.sh so that it does not ignore test/ directory anymore. bigswitch.cpp is excluded from formatting, because there are big commented-out code blocks, and apparently clang-format messes up formatting in them. Also to make matters worse, different clang-format versions do different things on those commented-out code blocks. | ||||
* | SmallVector (#1912) | Alon Zakai | 2019-02-25 | 1 | -0/+68 |
Trying to refactor the code to be simpler and less redundant, I ran into some perf issues that it seems like a small vector, with fixed-size storage and optional additional storage as needed, might help with. This implements that class and uses it in a few places. This seems to help, I see some 1-2% fewer instructions and cycles in `perf stat`, but it's hard to tell if it really makes a noticeable difference. |