Denys Vlasenko
81254ed387
lineedit: remove pos_buf[] array (up to 16k!); fix compat bugs
...
pos_buf is a strange hack, easy to do without it.
This also allows lines >32k long to be handled.
Also simplified match prefix generations and made behavior more like bash.
function old new delta
remove_chunk - 43 +43
collapse_pos 79 - -79
build_match_prefix 804 579 -225
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/1 up/down: 43/-304) Total: -261 bytes
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-09-03 12:59:15 +02:00
..
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2008-06-27 02:52:20 +00:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-07-19 00:44:56 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2008-12-03 18:48:39 +00:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-01 16:04:24 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-31 12:42:06 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-01 12:01:17 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-01 12:01:17 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-03 12:59:15 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2008-11-11 01:38:04 +00:00
2010-09-01 12:01:17 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-17 17:21:36 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-28 23:20:34 +02:00
2010-08-08 04:21:50 +02:00
2010-08-16 20:14:46 +02:00
2009-05-01 03:41:25 +02:00
2008-12-04 15:29:35 +00:00
2009-03-12 15:39:11 +00:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-07-26 01:49:12 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-06-27 03:23:31 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-06-27 03:23:31 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-02 12:03:11 +02:00
2010-08-31 12:42:06 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-22 05:39:15 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-31 12:42:06 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00