simplify paths produced by graphplay
authorShiar <shiar@shiar.org>
Wed, 6 Feb 2008 21:39:30 +0000 (22:39 +0100)
committerShiar <shiar@shiar.org>
Thu, 7 Feb 2008 23:14:24 +0000 (00:14 +0100)
Only keep first and last entries for identical values. In other words,
horizontal lines will not have each pixel specified, but only the two
corners. This already results in significantly smaller files (test case
went from 1.8MB to 1.5MB, and to just 130kB for unit graphs!). The same
thing should be done for sloped lines, but this is not as obviously
simple.


No differences found