alamb commented on PR #9824:
URL: 
https://github.com/apache/arrow-datafusion/pull/9824#issuecomment-2025725269

   > > Is it possible to replace with `Arc<str>`?
   > 
   > I'll try but imho I dont expect much diff as those strings are mostly 
immutable and should not be much diff between `Vec<u8>` which is `String` and 
`[u8]` which is str
   
   I agree there is not a lot of practical difference -- but I think the 
`Arc<str>`is the more standard (and does avoid one level of indirection:
   
   for `Arc<str>` it is `Arc` --> `[u8]`
   For `Arc<String>` it is `Arc` -> `String/Vec` -> `[u8]`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to