I noticed a difference between 
- a hash-based string selection from a persistent, read-only table
- a hash-based join on the same table and same column

They both build a hash on the same string column (verified with gdb), but the select can reuse the hash (second call is almost free), while the join keeps rebuilding the hash.

Is this expected? 

Roberto