diff --git a/README.md b/README.md index 8ba54d2f..2863661f 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Run performance tests with the following terminal command(s): xcodebuild test -scheme Ultimathnum-Performance -destination 'platform=macOS' ``` -This setup enables optimizations and omits unrelated metrics. These steps are critical since the project is both abstracted and modularized. Omitting compiler optimizations reduces performance by up to two orders of magnitude. Similarly, failing to omit code coverage reduces performance by another order of magnitude. If your measurements show poor results for reasonable inputs, feel free to open an issue about it or ask any questions you may have. +This setup enables optimizations and omits unrelated metrics. These steps are critical since the project is both abstracted and modularized. Omitting compiler optimizations degrades performance by up to two orders of magnitude. Similarly, failing to omit code coverage degrades performance by another order of magnitude. If your measurements show poor results for reasonable inputs, feel free to open an issue about it or ask any questions you may have. diff --git a/Sources/CoreKit/BinaryInteger+Integers.swift b/Sources/CoreKit/BinaryInteger+Integers.swift index bbf71334..838dc2be 100644 --- a/Sources/CoreKit/BinaryInteger+Integers.swift +++ b/Sources/CoreKit/BinaryInteger+Integers.swift @@ -172,7 +172,7 @@ extension BinaryInteger { var success = appendix == source.appendix if success, signedness != Self.mode { - success = appendix == Bit .zero + success = appendix.isZero } if success, let size = UX(size: Self.self) { @@ -199,7 +199,7 @@ extension BinaryInteger { var success = appendix == source.appendix if success, signedness != Self.mode { - success = appendix == Bit .zero + success = appendix.isZero } if success, let size = UX(size: Self.self) {