enhancement request local_date_time::check_dst
Open
enhancement
- Dominant language
- C++
- Stars
- 70
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Release: 1.64
At date_time/local_time/local_date_time.hpp:199 we have:
tz->dst_local_start_time(d.year()).date(),
tz->dst_local_start_time(d.year()).time_of_day(),
tz->dst_local_end_time(d.year()).date(),
tz->dst_local_end_time(d.year()).time_of_day(),
tz->dst_offset()
We did some performance evaluation and found that caching d.year(), dst_local_start_time() and dst_local_end_time() improved performance substantially.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.