1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00
Commit Graph

306 Commits

Author SHA1 Message Date
Andrey Kotlarski
9271f68c05 Add function to linearly search best batch size according to existing
measurements and offer it when interactively changing batch size.
2014-09-07 00:08:32 +03:00
Andrey Kotlarski
35ede9403c Restore batch size after save with adjustment. 2014-09-07 00:07:21 +03:00
Andrey Kotlarski
ee7409bfa5 Tune batch size in more cases. 2014-09-07 00:06:10 +03:00
Andrey Kotlarski
11c7af4b04 Change handling of measurement values to support approximations. 2014-09-07 00:02:14 +03:00
Andrey Kotlarski
5651ee3d61 Rename vlf-tune-optimal to vlf-tune-batch. 2014-09-06 23:59:32 +03:00
Andrey Kotlarski
f3212ec9a6 Fix measure approximation and allow tuning to just over half file
batch.
2014-09-05 19:11:48 +03:00
Andrey Kotlarski
48a014f3bc Fix write measuring and endless loop in nearby approximation. 2014-09-05 14:44:24 +03:00
Andrey Kotlarski
facdb9f6bc Fix binary tune base case and add approximation after access to
previously queried measure that is still missing.
2014-09-05 13:52:46 +03:00
Andrey Kotlarski
e8bb4a91da Apply batch size tuning on adjacent moves, search, save adjusting and
report total times.
2014-09-05 02:52:32 +03:00
Andrey Kotlarski
e18a05b7cb Add linear search for tuning and prefer smaller batches. 2014-09-05 02:49:55 +03:00
Andrey Kotlarski
d85f3d43fc Fix access to uninitialized measurements when tuning. 2014-09-04 15:43:37 +03:00
Andrey Kotlarski
0d9cc8e488 Don't measure encoding of too small region when adjusting chunk start
and fix passing of elements to tune in vlf-occur.
2014-09-04 15:26:25 +03:00
Andrey Kotlarski
d67825c4cd Move back to using average speed when measuring and tuning. Be more
precise when choosing index for measurement.
2014-09-04 15:25:44 +03:00
Andrey Kotlarski
70a81077ab Add vlf-batch-size tuning in vlf-occur. 2014-09-04 03:34:27 +03:00
Andrey Kotlarski
5379943cd7 Save times instead of speeds, compare on cumulative speed when tuning. 2014-09-04 03:33:05 +03:00
Andrey Kotlarski
fb0503064d Add basic tune strategies. 2014-09-03 02:35:20 +03:00
Andrey Kotlarski
069b2f55d4 Replace operations with respective vlf-tune wrappers. 2014-08-31 02:38:14 +03:00
Andrey Kotlarski
32ff2cb067 Add bookkeeping module. 2014-08-31 02:10:28 +03:00
Andrey Kotlarski
2e9ff70d56 Enlarge default batch size but keep is small on initial load of remote
files and on demand.
2014-08-23 00:09:44 +03:00
Andrey Kotlarski
569e4b2523 Don't ask needles questions on changing helm batch and restore undo
information when possible.
2014-08-23 00:01:13 +03:00
Andrey Kotlarski
557d751f78 Be more precise on restoring hexl-mode after chunk update has been
canceled.
2014-08-18 01:19:59 +03:00
Andrey Kotlarski
694d1de495 Allow vlf-occur results be saved to file and later reused. 2014-08-17 22:45:09 +03:00
Andrey Kotlarski
86223ed46c Fixes to hexl-mode integration. 2014-08-17 22:27:36 +03:00
Andrey Kotlarski
274c5ab903 Perform search, occur and ediff operations over hexl content instead
over raw data when hexl-mode is active.
2014-08-12 23:31:09 +03:00
Andrey Kotlarski
a1ca1e3428 Don't launch vlf when file size is less than vlf-batch-size. 2014-08-12 03:18:03 +03:00
Andrey Kotlarski
ece554a3bd Wording. 2014-08-10 18:48:36 +03:00
Andrey Kotlarski
1f9ba7ce5f Use derived-mode-p. 2014-02-23 18:18:26 +02:00
Andrey Kotlarski
8ba5bead36 Don't run vlf-after-batch-functions hook in vlf-build-occur. 2014-02-23 17:18:07 +02:00
Andrey Kotlarski
ee19f811ae Load hexl advices after load and move vlf group definition. 2014-02-23 00:40:20 +02:00
Andrey Kotlarski
6476c1be6a Update README, wording, add links and information on hooks. 2014-02-23 00:32:11 +02:00
Andrey Kotlarski
2c231dfb15 Disable hexl-save-buffer and hexl revert when vlf-mode is active. 2014-02-15 02:40:31 +02:00
Andrey Kotlarski
6bb60b72ad Fix hexl scroll up called from scroll down behavior. 2014-02-15 02:35:46 +02:00
Andrey Kotlarski
b235cf907c Execute vlf-after-batch-functions hook even on user quit command before
end of search.  Update buffer name after unsuccessful goto line.
2014-02-15 02:32:43 +02:00
Andrey Kotlarski
859c1e4c45 Fix hook names. 2014-02-15 02:32:05 +02:00
Andrey Kotlarski
8c61b776d6 Fix when batch hooks are run for occur and save. 2014-02-14 12:34:31 +02:00
Andrey Kotlarski
074f9e960d Play nicely with hexl-mode. 2014-02-14 02:49:02 +02:00
Andrey Kotlarski
b05255b225 Add hooks to run around chunk moves and batch operations. Don't err
when tramp hasn't been loaded yet.
2014-02-14 02:47:37 +02:00
Andrey Kotlarski
924d6b18fa Revert to using insert-file-contents instead of manual decoding. 2014-02-14 02:44:43 +02:00
Andrey Kotlarski
0199c2468a Lower tramp verbosity level when dealing with multiple batches. 2014-01-30 01:58:57 +02:00
Andrey Kotlarski
ffac6972ed Keep undo list after occur or unsuccessful line search. 2014-01-27 02:15:56 +02:00
Andrey Kotlarski
a71ee32508 Skip adjustment in some cases of overlapping chunk. 2014-01-27 01:18:07 +02:00
Andrey Kotlarski
9510c70860 Retry decoding when the initial attempt seems wrong. 2014-01-27 01:16:00 +02:00
Andrey Kotlarski
cc9b115486 Update docstring for vlf-ediff-adjust. 2014-01-23 02:30:02 +02:00
Andrey Kotlarski
f83a212c52 Temporarily disable font-lock during multiple batch operations. 2014-01-23 02:11:44 +02:00
Andrey Kotlarski
1a1ce27d37 Add progress reporters for the optimized part of line search. 2014-01-23 02:10:52 +02:00
Andrey Kotlarski
5c604c48a4 Optimize vlf-goto-line not to decode batches as long as possible. 2014-01-22 02:42:52 +02:00
Andrey Kotlarski
0fa8e8d6bf Update buffer name on user interruption during ediff. 2014-01-22 02:40:53 +02:00
Andrey Kotlarski
d7766f2a3b Update documentation and mark autoloaded functions as interactive. 2014-01-21 01:34:32 +02:00
Andrey Kotlarski
30d2bb0d25 VLF buffer ediff now starts from the current chunks. 2014-01-21 01:33:04 +02:00
Andrey Kotlarski
c533bce956 Add command to set batch size explicitly. 2014-01-21 01:32:21 +02:00