alamb opened a new pull request, #1624:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1624

   I made a flamegraph of the sqlparser_bench and found a few unecessary clones
   
   
![flamegraph](https://github.com/user-attachments/assets/070959e1-6f3a-4572-8815-dd594d1b11c3)
   
   This PR avoids a clone (string copy) in parse_identifier. 
   
   I don't think this will make things much faster (yet), but it makes clear 
where the cloning is happening.
   I hope to optimize the speed of parsing identifiers more as a follow on PR. 


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to