crepererum commented on pull request #269: URL: https://github.com/apache/arrow-rs/pull/269#issuecomment-836629115
Small comment regarding `dyn` and if the compiler can inline function calls: It depends if the compiler is able to proof the concrete type. If the type is behind `dyn` is known a process called "devirtualization" will kick in. See https://godbolt.org/z/Tojc8PEfY for an example. So it depends a bit on the concrete usage. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
