Skip to content

Commit af08039

Browse files
Specialize PZ ascend_byte
1 parent 9d6c141 commit af08039

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/product_zipper.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ impl<'trie, V: Clone + Send + Sync + Unpin + 'trie, A: Allocator + 'trie> Zipper
270270
ascended
271271
}
272272
fn ascend_byte(&mut self) -> bool {
273-
self.ascend(1)
273+
let ascended = self.z.ascend_byte();
274+
self.fix_after_ascend();
275+
ascended
274276
}
275277
fn ascend_until(&mut self) -> bool {
276278
let ascended = self.z.ascend_until();

0 commit comments

Comments
 (0)