gEDA-dev: [RFC] Sort before write
Dan McMahill
dan at mcmahill.net
Tue Oct 30 00:38:05 EDT 2007
Ales Hvezda wrote:
> [snip]
>> Sort all elements by some function of position before writing to disk.
>> libgeda would be able to read unsorted files, and unchanged files would not
>> be written out (as you'd expect). The exact comparison function used isn't
>> important, as long as semantically identical schematics have identical
>> on-disk representation.
>
> That there is a comparison function or a well defined sorting
> order is quite important. Since you are proposing an intelligent sort,
> I'm okay with this functionality. A dumb sort would not have have been
> a good thing.
>
> -Ales
I've wondered if it would be useful to teach gschem about a sort of xor
function. Something that would let you load two versions of a schematic
where you see one version in one color scheme and any places where a
simple graphical xor shows a difference in some bright and easy to see
by color blind people.
-Dan
More information about the geda-dev
mailing list