Thank you both for your replies.

I had missed the "t->Release()" call in Release()...

Regarding the flags, I can see why it makes sense to store 
the information, but it doesn't need to be as a bit-field.  
For example, it is impossible for something to be 
simultaneously meta data (keyword, description) and a 
heading.  If the "heading" bit is specified, the other two 
fields could be the level: 1-4.  We could save the "plain 
text" bit by treating "heading level 4" as plain text.  

This more compact encoding could be an index to a lookup 
table of the full bit pattern (a la nano-code).  This would 
give complete flexibility in the actual data stored.

Regarding the use of <b> etc. instead of <h1>, I think we 
can thank Mr Gates for that one...  However, it could also 
be treated as "level 3 heading", unless it is already given 
extra weight somehow.

However, I realise that this is all very low priority 
stuff, and if it ain't broke, don't fix it...

Cheers,
Lachlan


On Fri, 8 Nov 2002 16:09, Geoff Hutchison wrote:
> On Thursday, November 7, 2002, at 10:12  PM, Gilles 
Detillieux wrote:

> > put all headings into one factor was to
> > reduce the number
> > of bits the flag would take by 5. We're going to have to
> > increase this
> > anyway, to accomodate custom fields,
>
> there were 6 slots for headings under 3.1, and it
> seems like a huge waste of bits considering most won't be
> used--even with 3-bit encoding. Some other document
> formats also don't make much distinction between heading
> levels. Do people really think that markup beyond h1, h2
> and h3 occurs? A lot of HTML I see these days uses
> <strong> or <b> or <i> tagging (or worse, <font>).
>
> Keep in mind that every bit we add to the flags adds more
> space to every word.

-- 
Lachlan Andrew  Phone: +613 8344-3816 Fax: +613 8344-6678
Dept of Electrical and Electronic Engg          CRICOS Provider Code
University of Melbourne, Victoria, 3010  AUSTRALIA      00116K


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to