Skip to content

Clock auto-selection redux

Latest
Compare
Choose a tag to compare
@Freaky Freaky released this 22 Sep 19:09
· 12 commits to master since this release

Added

  • Instant.clock_name is back and now tracks clock_id using reflection.
  • Explicit minimum Ruby version in gemspec (2.7.0).

Changed

  • Clock auto-selection redux. We choose the first available from:

    1. CLOCK_UPTIME_RAW on macOS, faster and higher resolution, also used by Rust
    2. CLOCK_MONOTONIC
    3. CLOCK_REALTIME, a non-monotonic fallback that issues a warning on startup
  • Slight performance bump for Duration.measure on Ruby <= 3.1

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy