[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: g_list_sort() or local mergesort?



Kai-Martin Knaak wrote:
> For my gnetlist hacking I need to sort the netlist according to refdes. 
> There are two options:
>
> a) use the function g_list_sort() provided by glib
> This would involve routines to convert NETLIST to GList and back.
>
> b) add a sorting algorithm to libgeda. A sensible choice would be 
> mergesort. 
>
> Which option do you prefer?
>   

How about:

c) Crib the refdes sorting code from spice-sdb.scm?

> ---<(kaimartin)>---
>   


-- 
John Doty      Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd@xxxxxxxxx 



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user