Files
federated-calendar/tests
Georges Basile Stavracas Neto 6234566874 core/range: Compute and use timestamps for comparison
Using GDateTime utilities is costly and shows up high in profiling.
That's because GDateTime has to run timezone offset checks for every
comparison. We can amortize this cost by converting these datetimes
to unix timestamps upfront, and using them for comparisons.

A complication is date-only ranges, for which unix timestamps wouldn't
work. For this, add a new kind of timestamp that only accounts for the
dates.

Add a new test case for date-only comparison.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/770>
2026-06-13 23:22:01 +02:00
..
2022-06-22 08:51:30 -03:00
2019-05-04 12:05:39 -03:00
2019-05-04 12:05:39 -03:00
2026-05-03 16:57:49 +00:00
2023-03-05 11:24:49 -03:00