help-gnunet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD


From: Christian Grothoff
Subject: Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD
Date: Fri, 27 Feb 2004 08:49:51 -0500
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 27 February 2004 08:32 am, Igor Wronsky wrote:
> On Fri, 27 Feb 2004, Christian Grothoff wrote:
> > P.S.: I don't like Igor's solution of adding external files for LE to
> > search and open, that just makes the installation more complicated.  I'd
> > rather hack GCC to make sure that it can handle this kind of code :-).
>
> Take your average dictionary app. Does it have a large flat
> file that it compiles to be a part of the executable? If not,
> why not? Are they just stupid?

Their dictionaries are typically not read-only and not compressed into a 
bloomfilter binary. And the spellchecker code is a bit bigger than an LE 
plugin, so they have one code module that uses a dozen dictionaries for 
different languages / applications.  Duplicating the code module for each 
language would significantly bloat the code, duplicating the LE code for each 
language OTOH does not matter since it is tiny. And your average 
word-processor can afford parsing the dictionary when needed and take a 
fortnight to start the spellchecker.  The LE dictionary is compressed, never 
used in plaintext and never edited and has practically zero startup cost.  
And since you can't edit the LE bloomfilter -- or use it for anything else -- 
why should you have to care about it, for example if you package LE or if you 
move the library? Ok, not being able to compile is also a useability problem, 
but I'm still happy to blame the compiler for that one.

C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAP0r/9tNtMeXQLkIRAmh+AKCQJY4k+cnFdn1QuTqfbq+BeniFSQCgh4PW
8tvtQ8Wkn++YC69X+valDf8=
=bnkN
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]