speed up ==, hash, <, >, <=, and >= for plain_data