Like `next`, but uses unchecked access and is therefore unsafe.
(&self, si: StatePtr, cls: usize)
| 1719 | |
| 1720 | /// Like `next`, but uses unchecked access and is therefore unsafe. |
| 1721 | unsafe fn next_unchecked(&self, si: StatePtr, cls: usize) -> StatePtr { |
| 1722 | debug_assert!((si as usize) < self.table.len()); |
| 1723 | debug_assert!(cls < self.num_byte_classes); |
| 1724 | *self.table.get_unchecked(si as usize + cls) |
| 1725 | } |
| 1726 | } |
| 1727 | |
| 1728 | impl StateFlags { |