tag:blogger.com,1999:blog-1392748891339897691.post795249182171751640..comments2024-01-04T10:07:45.465+01:00Comments on Thomas Andreas Jung's Blog: Implementing hash functions in functional styleThomas Junghttp://www.blogger.com/profile/13153488692248832865noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1392748891339897691.post-28941850604531296902010-02-12T12:40:00.729+01:002010-02-12T12:40:00.729+01:00The performance should be comparable. When the tai...The performance should be comparable. When the tailcall optimzation applies all access is to local variables (on the stack) and method calls will be inlined by hotspot. The partial application has an impact on performance, though. I'll blog about this soon.Thomas Junghttps://www.blogger.com/profile/13153488692248832865noreply@blogger.comtag:blogger.com,1999:blog-1392748891339897691.post-35246529533189948882010-02-12T11:01:22.214+01:002010-02-12T11:01:22.214+01:00I wonder what is the performance difference betwee...I wonder what is the performance difference between java hashcode and equivalent scala hash(String) using the tailcalls. Is it in range of 10-20% (which would be just effect of accessing values from outside of class through accessors) or rather 2-5 times slower ?Artur Biesiadowskinoreply@blogger.com