4 karma · joined Aug 15, 2023 (3y ago) · 7 submissions
comment 2y ago · link · parent
Anyway, I assume the answers aren't known because it would be an ethics/privacy nightmare to run these kinds of experiments on anyone but yourself.
comment 2y ago · link · parent
It's an interesting problem you'd probably try to solve with Markov chains back in the day, but now you'd just throw machine learning at.
comment 2y ago · link · parent
>Of course they do
No, they do not, at least not worst case O(1). If you write a very poor (but functional!) hash function or an adversary is choosing your items, then congratulations, your hashmap is now a linked list with extra steps.
Sure, you could use a robust cryptographic hash function, but you didn't because (a) it's not the default in your language and (b) it's slow and you are "a lot more interested in a low-constant-factor O(1) best case".
Otherwise, you're more or less correct.
comment 2y ago · link · parent
comment 2y ago · link · parent
Now suppose that the first party resolves to go back in time and kill his grandfather unless the bits he measures are precisely the message he wishes to send. The universe can't tolerate the paradox, so it is corralled into the only non-paradoxical outcome: both parties read the desired message. Something like that, anyway.