mirror of
https://github.com/BurntSushi/jiff.git
synced 2025-12-23 08:47:45 +00:00
The big ones here are: 1. Using Neri-Schneider to convert to-and-from Unix epoch days. 2. Add a bit set to `Span` to make it cheap to determine which units are non-zero. We then use this bit set to enable fast paths in routines that do arithmetic with `Span`. There's a host of other junk here too. For example, `Timestamp::series` now converts its `Span` to a `SignedDuration` and uses that to do arithmetic instead of `Span`. And adding a `SignedDuration` to a `Timestamp` is now faster because we avoid doing redundant checks by skipping `Timestamp`'s constructor. ... and a lot more of that in a similar vein. This overall results in better performance than both `chrono` and `time` in *most* cases. Fixes #235, Fixes #255 |
||
|---|---|---|
| .. | ||
| civil | ||
| fmt | ||
| tz | ||
| util | ||
| duration.rs | ||
| error.rs | ||
| lib.rs | ||
| logging.rs | ||
| now.rs | ||
| signed_duration.rs | ||
| span.rs | ||
| timestamp.rs | ||
| zoned.rs | ||