"ext Marius Gedminas" <[EMAIL PROTECTED]> writes:

> On Fri, Feb 23, 2007 at 04:28:37PM +0200, Marius Gedminas wrote:
>> Let me try...
>> 
>>     [install]
>>     temporary_file_relative_repo_deb = .repository/mistral mistral
>>     temporary_file_relative_repo_deb_3 = .repository/bora bora
>
> On second thought, this would be better:
>
>       temporary_repo_deb = file-relative:///.repository/mistral mistral
>       temporary_repo_deb_3 = file-relative:///.repository/bora bora
>
> The app manager can straightforwardly replace the file-relative:///
> prefix to file:///path/to/the/location/

But that would mean more parsing in more places.  I'd like to parse
only once, when reading the data structure, and the code then just
walks this data structure without the need for more parsing.

The following Perlisism comes to mind:

    The string is a stark data structure and everywhere it is passed
    there is much duplication of process. It is a perfect vehicle for
    hiding information.
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to