This repository was archived by the owner on Oct 28, 2020. It is now read-only.
Repository navigation
Releases: stephanecopin/PreciseTime
Releases · stephanecopin/PreciseTime
Release list
Swift Struct
Implement PreciseTime in Swift first rather than Objective-C. Given the high precision of mach_absolute_time(), the Objective-C runtime could have added some unecessary overhead when used from Swift.
Objective-C support is still there, but the bridging is all done in Swift.
This also reduce the struct implementation to a single file for both language.