luajit2 icon indicating copy to clipboard operation
luajit2 copied to clipboard

Arm64 specific support for lj_new_str random hash optimization

Open debayang opened this issue 7 years ago • 2 comments

This ports the random hash optimization done for lj_new_str() for x64 ( in https://github.com/openresty/luajit2/commit/7923c63 ) to arm64.

Verified on Arm64 platform with the existing benchmark developed as part of the x64 commit above - shows similar improvements as seen for x64 with this benchmark.

However not sure about the effect on any real time workloads.

debayang avatar May 04 '18 11:05 debayang

@siddhesh Will you mind having a quick look at this one? ;) Many thanks!

agentzh avatar Aug 02 '19 04:08 agentzh

@siddhesh Thanks for looking into this! The original author of this PR is no longer responding it seems. Will you please create a separate PR so that we can merge the final version quickly? Many thanks!

agentzh avatar Sep 02 '19 00:09 agentzh