Open vultix opened 1 year ago
I'd be willing to make a pull request if this is the way we want to go
Thanks for bringing this up. Yeah, it probably makes sense to introduce such a type. But I'd suggest we define it ourselves instead of relying on a third-party crate such as stock-symbol
. Could probably be as simple as a wrapper around [7; c_char]
or something like that. Feel free to propose an implementation or prototype something.
Proposal: Use a stack-allocated dedicated
Symbol
type such as stock-symbol.Benefits:
String
symbolsCopy
, making many operations much simpler