[hint_array] move hint_traits to .cc file
[caching] damage visitor and checker for hint array