Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Swift Macro for Bluetooth SIG metadata #176

Open
colemancda opened this issue Jan 11, 2025 · 0 comments
Open

Use Swift Macro for Bluetooth SIG metadata #176

colemancda opened this issue Jan 11, 2025 · 0 comments
Assignees

Comments

@colemancda
Copy link
Member

colemancda commented Jan 11, 2025

The Bluetooth SIG metadata for assigned numbers is currently being generated as static members on types (e.g. BluetoothUUID, UnitIdentifier, CompanyIdentifier) with a cached hash map of names and other metadata. This metadata should be moved to a Swift Macro to reduce code size and heap allocation, and potentially improve support for WASM #148.

@colemancda colemancda self-assigned this Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant