Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 05/18/2000 21:15:57
Module Name:	basesrc
Committed By:	mycroft
Date:		Fri May 19 04:15:56 UTC 2000

Modified Files:
	basesrc/lib/libcurses: refresh.c

Log Message:
Two optimizations in quickch():
* Don't bother comparing lines that are not dirty when looking for the top
  and bottom regions.
* In the loop that searches for the largest equal region, do the totally
  half-assed hack of splitting the inner loop into two parts -- comparing
  only the hash values the first time, and doing memcmp()s the second time.
  This makes many of my test cases >100x as fast.
  XXX This code needs a lot more work.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 basesrc/lib/libcurses/refresh.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.