Skip to content

Slow division on iOS 15.0 vs 16.4 #59

Description

@oscbyspro

I think this is a low-priority issue, but still (#58):

The difference appears to be between iOS 15 and iOS 16.4:

// Swift 5.8, iPhone 13 Pro, iOS 16.4 (0.027 seconds, 0.019 seconds)

Test Case '-[NBKDoubleWidthKitBenchmarks.NBKDoubleWidthBenchmarksOnDivisionAsUInt256 testQuotientAndRemainder]' passed (0.027 seconds).
Test Case '-[NBKDoubleWidthKitBenchmarks.NBKDoubleWidthBenchmarksOnDivisionAsUInt256 testQuotientAndRemainderDividingByDigit]' passed (0.019 seconds).

// Swift 5.8, iPhone 13 Pro, iOS 15.0 (0.233 seconds, 0.547 seconds)

Test Case '-[NBKDoubleWidthKitBenchmarks.NBKDoubleWidthBenchmarksOnDivisionAsUInt256 testQuotientAndRemainder]' passed (0.233 seconds).
Test Case '-[NBKDoubleWidthKitBenchmarks.NBKDoubleWidthBenchmarksOnDivisionAsUInt256 testQuotientAndRemainderDividingByDigit]' passed (0.547 seconds).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    availabilityin an SDK near youbrrrsuch code, much wowtimethe passing of time is hard at work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions