summaryrefslogtreecommitdiff
path: root/point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'point.cpp')
-rw-r--r--point.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/point.cpp b/point.cpp
index b0be8e9..0e80e7f 100644
--- a/point.cpp
+++ b/point.cpp
@@ -93,24 +93,6 @@ struct Point {
return next_byte();
}
- uint64_t seek(uint8_t c, uint64_t limit) {
- uint64_t travel_distance = 0;
- while (!at_end() && next_byte() != c && travel_distance < limit) {
- (*this)++;
- travel_distance++;
- }
- return travel_distance;
- }
-
- uint64_t rseek(uint8_t c, uint64_t limit) {
- uint64_t travel_distance = 0;
- while (!at_start() && prev_byte() != c && travel_distance < limit) {
- (*this)--;
- travel_distance++;
- }
- return travel_distance;
- }
-
void align_gap() {
while (page->gap_end < index_to_offset()) {
page->move_gap_forward();