Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jun 19, 2025

Motivation

Both of these types should be CoW data structures that are inherently Sendable. This will make programming with them substantially easier.

Modifications

  • ArbitraryPrecisionInteger gets marked @unchecked Sendable
  • Refactor EllipticCurvePoint to become a CoW value type
  • Make EllipticCurvePoint @unchecked Sendable

Results

Easier to use types

Motivation

Both of these types should be CoW data structures that are inherently
Sendable. This will make programming with them substantially easier.

Modifications

- ArbitraryPrecisionInteger gets marked @unchecked Sendable
- Refactor EllipticCurvePoint to become a CoW value type
- Make EllipticCurvePoint @unchecked Sendable

Results

Easier to use types
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Jun 19, 2025
@Lukasa Lukasa merged commit dbb4559 into apple:main Jun 19, 2025
30 checks passed
@Lukasa Lukasa deleted the cb-sendable-integers-and-points branch June 19, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants