Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
time: In the Time_Before method, cache the result of sec() calls.
The current implementation calls sec() for both the receiver t and the parameter u twice, if the seconds of both times are equal. This is the same optimization that has already been implemented in the Time_After method. This fixes no issue, as it is a trivial change.
- Loading branch information