Re: Advantage of uthash over glib2 hash?

Frank Trampe <[email protected]>
Newsgroups gmane.comp.fonts.fontforge.devel
Message-ID <CANkSbhozDOuYhf1ZQNFC05UG17=W0pPONxSgd9hS3HD4y3cPig@mail.gmail.com>
I needed a quick hash in order to solve a big performance problem. uthash
was simple (not quite so much as the front page on its website suggests),
well documented, easy to implement, and compatibly licensed. And I knew
that Troy would help me if I had a problem. (There were no problems.) I was
very happy with the way it turned out. GLib can be a bit heavy and
difficult to use in certain cases since it brings with it so much baggage,
and, to be honest, I didn't know that it implemented hashes anyway.

That said, I'm perfectly satisfied with GLib doing what it currently does.
I know that a few other people would like to switch to GNUlib where
possible, but I don't think that this is worth the effort and trouble right
now.



On Sat, Jul 26, 2014 at 2:44 AM, Ben Martin <[email protected]>
wrote:

> Hi,
>   I am wondering what advantages using uthash has over using glib2/hash?
>
>   I know I created a double link list API a while back, before glib2 was
> a fontforge dep, and hope at some stage to convert that over to using
> glib2 lists instead (ie,
> https://developer.gnome.org/glib/2.37/glib-Doubly-Linked-Lists.html).
>
>   I know it's a bit of a leading question, but... Are folks happy with
> trying to use the glib2 collections in fontforge? Are there better ones
> that we should try to move towards?
>
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Fontforge-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fontforge-devel
>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

_______________________________________________
Fontforge-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.