On Tue, Apr 1, 2008 at 11:00 PM, Bruno Moreira Guedes
<[EMAIL PROTECTED]> wrote:
> Hello all,

Hi there,

>  I want to know if it's interesting to create a config. structure on
>  the listener.
>  I'm thinking about creating a structure with string pointers, and a
>  function to parse the config file once, putting the options strings
>  address at this. So, the get_rule_for should just return the
>  corresponding string. I'm also thinking about reading the file in
>  sequentially and filling the structure.
>
>  I think both ideas should make the config. file parsing more
>  efficient, because it won't need to rewind and read again the file
>  many times, since it'll read the file once a time and load every
>  config option.
>
>  I want to know if it's a valid effort before putting my hands on.

Yes, sure it is. Its parser is definitely not very efficient and was
something in the to-do list for some long time. Thanks for looking at
this!

Regards,

-- 
Lucas
powered by /dev/dsp
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to