tustvold commented on code in PR #3121:
URL: https://github.com/apache/arrow-rs/pull/3121#discussion_r1023268748


##########
arrow-schema/src/datatype.rs:
##########
@@ -263,30 +263,13 @@ impl fmt::Display for DataType {
 
 impl DataType {
     /// Returns true if the type is primitive: (numeric, temporal).
+    #[inline]

Review Comment:
   Also took the opportunity to add `#[inline]` so that these inline correctly 
across crate boundaries - which will help with eliding redundant checks



-- 
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