mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-18 03:55:31 +00:00
- don't adjust start on next occur batch
- don't gather profile info for adjustment insert as it's too small
This commit is contained in:
parent
b14c912afb
commit
bc398d6053
@ -307,8 +307,8 @@ Return number of bytes moved back for proper decoding."
|
||||
(strict (or (= sample-end vlf-file-size)
|
||||
(and (not adjust-end) (= sample-end end))))
|
||||
(shift 0))
|
||||
(while (and (progn (vlf-insert-file-contents-1 safe-start
|
||||
sample-end)
|
||||
(while (and (progn (insert-file-contents buffer-file-name
|
||||
nil safe-start sample-end)
|
||||
(not (zerop safe-start)))
|
||||
(< shift 3)
|
||||
(let ((diff (- chunk-size
|
||||
|
@ -341,7 +341,8 @@ Prematurely ending indexing will still show what's found so far."
|
||||
(vlf-tune-encode-length (point-min)
|
||||
batch-point))))))
|
||||
(vlf-tune-batch tune-types)
|
||||
(vlf-move-to-chunk start (+ start vlf-batch-size)))
|
||||
(setq vlf-end-pos start) ;not to adjust start
|
||||
(vlf-move-to-chunk-2 start (+ start vlf-batch-size)))
|
||||
(setq match-start-point (point-min)
|
||||
match-end-point match-start-point)
|
||||
(goto-char match-end-point)
|
||||
|
Loading…
Reference in New Issue
Block a user