olpc boot splash
Charlie Brej
plymouth at brej.org
Fri May 8 03:14:12 PDT 2009
Ray Strode wrote:
> Hi,
>
> On Thu, May 7, 2009 at 5:54 AM, Charlie Brej <plymouth at brej.org> wrote:
>> Re. the ply-key-file.c key reading code. You know there are hash tables now?
> I do remember you adding them, but admittedlly I forgot it was
> available when I through together ply-key-file.c
>
>> I can migrate the code from key lists to hash tables if you like.
> Sure, it makes a lot of sense. Although, in practice I dont know that
> we'll get much in the way of wins out of it just because the files are
> so small (1 to 2 groups per file, a handful of entries per group).
>
> When I wrote GKeyFile for glib, I ended up using both a hash table and
> a list because I needed to retain ordering when saving. Saving isn't
> relevant here though.
>
> --Ray
Patch attached. I did a deep free but value fetches are strdupped so it should
cause no problems.
btw Ignore that frame_area thing in the prev email. I thought there images of
different sizes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: key-file-hash.patch
Type: text/x-patch
Size: 4433 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/plymouth/attachments/20090508/586fd3e3/attachment.bin
More information about the plymouth
mailing list