diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2021-05-17 15:01:04 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-18 08:07:01 +0200 |
commit | 44a9c7c23e223c464d5d4a15c93c9fc7ab8525f0 (patch) | |
tree | 86ccb1777a1562d3b254ee072603b8561305ce8a /Userland/Libraries/LibC | |
parent | 3908a49661a00e15621748dcb2b0424f29433571 (diff) | |
download | serenity-44a9c7c23e223c464d5d4a15c93c9fc7ab8525f0.zip |
AK/PrintfImplementation: Change static constexpr array to function local
Problem:
- Static variables take memory and can be subject to less optimization.
- This static variable is only used in 1 place.
Solution:
- Move the variable into the function and make it non-static.
Diffstat (limited to 'Userland/Libraries/LibC')
0 files changed, 0 insertions, 0 deletions