Hardcoded string hash value

  • From: Shuxin Yang <shuxinyang.oss@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 24 Apr 2017 08:38:49 -0700

Hi, There:

I changed string hash function for some reasons, and run into trouble -- there are some places where string hash value is hardcoded. What is the string literal the 2nd case-clause corresponding to? It does not seems to be "__aligned".

-------------------------------------------

src/lj_cparse.c

1052 /* Parse GCC __attribute__((...)). */
...
1063 case H_(64a9208e,8ce14319): case H_(8e6331b2,95a282af): /* aligned */
1064

--------------------------------------------


Thanks

Shuxin


Other related posts:

  • » Hardcoded string hash value - Shuxin Yang