Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Nov 9, 2024
1 parent 404de83 commit db50472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<a name="overview"/>

Expand Down
4 changes: 2 additions & 2 deletions Sources/CoreKit/BinaryInteger+Integers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit db50472

Please sign in to comment.