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)
commit9b6efb5f25ff032a46a2f6bc9b4f3501c9d7b47c
tree3f4b4861011751fa2cf1067c9297405a566382a8
parentacea822c3a40b7e74b8d390f6c4d497eface0b56
simplify paths produced by graphplay

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.
graphplay