Reapply: D2649157: Shrink static string table keys
commit6493ed79cf688ee89195d6f6cc93c6e1d176f4fe
authorEdwin Smith <smith@fb.com>
Wed, 2 Dec 2015 18:41:55 +0000 (2 10:41 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 2 Dec 2015 19:01:46 +0000 (2 11:01 -0800)
tree97ad5d31327c04a9775d198a7cdb954fa153da7d
parentf66229f9694d896a1d976a7dc599b843be667c4a
Reapply: D2649157: Shrink static string table keys

Summary:
The original diff accidentally sign-extended keys before casting
to pointers; this one uses unsigned keys. The magic-value test is
unchanged, it still just tests the low 3 bits.

Reviewed By: koda

Differential Revision: D2703807

fb-gh-sync-id: 713d3d0d114a55fceb52c3badd2329e5e44c7e46
hphp/runtime/base/static-string-table.cpp
hphp/util/low-ptr.h