[hibernate-issues] [JIRA] (HHH-14137) Empty String Check Performance Improvement

Ihar S (JIRA) jira at hibernate.atlassian.net
Tue Aug 4 15:44:57 EDT 2020


Ihar S ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A82b7796e-7c9d-4484-9d8a-799aece98d09 ) *commented* on HHH-14137 ( https://hibernate.atlassian.net/browse/HHH-14137?atlOrigin=eyJpIjoiNjA5MzIzNTA2ZWRlNDg0ODk3ZmI5YzZkNGRmZDI4M2UiLCJwIjoiaiJ9 )

Re: Empty String Check Performance Improvement ( https://hibernate.atlassian.net/browse/HHH-14137?atlOrigin=eyJpIjoiNjA5MzIzNTA2ZWRlNDg0ODk3ZmI5YzZkNGRmZDI4M2UiLCJwIjoiaiJ9 )

Thank you for the double-check! Yes, org.springframework.util.StringUtils.isEmpty is for Object param, and I don't think I can do much with it, but hibernate should get a bit of performance boost after optimization in common cases. I'm going to investigate the Spring code as well and probably will open an additional PR for Spring Framework. Thank you for pointing it out!

( https://hibernate.atlassian.net/browse/HHH-14137#add-comment?atlOrigin=eyJpIjoiNjA5MzIzNTA2ZWRlNDg0ODk3ZmI5YzZkNGRmZDI4M2UiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14137#add-comment?atlOrigin=eyJpIjoiNjA5MzIzNTA2ZWRlNDg0ODk3ZmI5YzZkNGRmZDI4M2UiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100141- sha1:8f92423 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200804/78b84103/attachment.html 


More information about the hibernate-issues mailing list