|
|
|
|
|
by to11mtm
5 days ago
|
|
Ehh, it's hard to pin down fully, at least at this moment; The Runtime Support thing is definitely part of it; things have improved over time but there is still a gap as far as stuff needing a string where a poolable thing could be better; ADO.NET comes to mind, especially when we consider how big some queries can get with ORMs and what a reasonably complex (or outright jank) data model can require. There's others, but that is the major case (And TBH It shouldn't be that hard to solve from an API standpoint, right? just have a default virtual impl that does the String conversion on the normal methods...) But also, the elephant in the room to where we can do 'u8' on a literal that becomes a ReadOnlySpan/ReadOnlyMemory of bytes. It's a smell for the lack of a proper UTF8 string holder in general. |
|