nats-io / nats.swift

Swift client for NATS, the cloud native messaging system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decide if subjects should be String

Jarema opened this issue · comments

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.

Subject is a string. closing.