felipecrv commented on issue #35581: URL: https://github.com/apache/arrow/issues/35581#issuecomment-1554722053
Scary. And as I thought more about my proposal of deleting the copy ctor of `ArraySpan`, I realized that completely defeats the point of having a non-owning span type. If we really care about small buffers being cheap, we should instead consider changing the `Buffer` class to have an optimization similar to the small-string optimization that `std::string` does. That can be made safe by correct implementation of the move/copy constructors of `Buffer` -- 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]
