diff options
author | swarmer <swarmer@yandex-team.com> | 2025-02-10 23:38:45 +0300 |
---|---|---|
committer | swarmer <swarmer@yandex-team.com> | 2025-02-11 00:10:29 +0300 |
commit | 17cc83379606b885d021e15a7cf5941210eba0b5 (patch) | |
tree | 83dc9cbcbcdeb9969a10bf33322b93b5e8b8ff0e /library/cpp/colorizer | |
parent | cc4962f760e1d454f0ce1dbe54ed92f9bf7eaf6a (diff) | |
download | ydb-17cc83379606b885d021e15a7cf5941210eba0b5.tar.gz |
[util] GmTimeR: use LUT for the tm_yday -> tm_mday conversion
Replacing binary search with a look-up table. The performance of which does not depend on the branch predictor, and conversion works equally fast for any dates.
commit_hash:fefe9665d0d4b51c2ae09ec2b2816aed30caa57b
Diffstat (limited to 'library/cpp/colorizer')
0 files changed, 0 insertions, 0 deletions