nats-io / nats.swift

Swift client for NATS, the cloud native messaging system.
Apache License 2.0
22 stars 4 forks source link

Decide if subjects should be String #8

Closed Jarema closed 7 months ago

Jarema commented 10 months ago

String might have potentially bad performance and a lot of allocations. Check if there is a more efficient way to have non mutable data as a subject - for example a custom Subject type that wrapps Data with utility methods.

Jarema commented 7 months ago

Subject is a string. closing.