alamb commented on PR #9537: URL: https://github.com/apache/arrow-rs/pull/9537#issuecomment-4792688836
> Maybe we can try to separate the normal path(no whitespace) and the exception path(with leading/trailing whitespace), if this is accepted, then maybe we also can improve the parse logic for int/decimal by changing the code in `parser_primitive`(we'll always call `trim_ascii` there) This is a good idea @klion26 -- basically don't slow down the common case (non whitespace) but do an extra check/trim on the error path. -- 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]
