(&self, vm: &VirtualMachine)
| 637 | |
| 638 | #[inline] |
| 639 | pub(crate) fn hash(&self, vm: &VirtualMachine) -> hash::PyHash { |
| 640 | match self.hash.load(atomic::Ordering::Relaxed) { |
| 641 | hash::SENTINEL => self._compute_hash(vm), |
| 642 | hash => hash, |
| 643 | } |
| 644 | } |
| 645 | |
| 646 | #[cold] |
| 647 | fn _compute_hash(&self, vm: &VirtualMachine) -> hash::PyHash { |
no test coverage detected