Re: Entities names?

Chris Wendt (
Fri, 22 Aug 1997 17:05:32 -0700

From: "Chris Wendt" <>
To: "Rob" <>, <>
Date: Fri, 22 Aug 1997 17:05:32 -0700
Message-ID: <01bcaf58$45bae3b0$>
Subject: Re: Entities names?

>Search a huge table? Search?!? What about using a hash lookup for
>entities if speed is a concern?

Apologies for the inexact terminology. I used "search" instead of "lookup",
regardless of the implementation.

I personally don't think that "&#8249;" is that much harder to read than
"&lsaquo;", especially for any non-English HTML author, because "&#8249;" is
a straight index into the Unicode reference on my desk. Of course the more
named entities you add, the more obscure names you need to make up for them.


-----Original Message-----
From: Rob <>
To: Chris Wendt <>; <>
Date: Friday, August 22, 1997 3:32 PM
Subject: Entities names?

"Chris Wendt" <> wrote on Fri, 22 Aug 1997 11:58:38:

> [..]
> I haven't seen any proof for the added "convenience" of adding more and
> named entities. In the contrary this slows down the parser (you need to
> search a huge table) and transmission size (each character takes more
> than any other known document encoding).

Search a huge table? Search?!? What about using a hash lookup for
entities if speed is a concern?

  character := entityTable[ hash(entityName) ]

Certainly the computing time to calculate a hash of several
characters to calculate an index in a table is minimal enough not to
degrade from performace, unless a document is filled with hundreds of
entity names.

As for the extra size issue, the added characters for entity
references is insignificant.

I favor source readability (even if I am using special software to
create a web page) over brevity.

Side question: will PNG images be added to MSIE so they can be
included using <IMG> or does one have to rely on plugins and the use
of <OBJECT> which is handled in a buggy manner by most browsers
(enough to make me avoid using it for years).

Robert Rothenburg Walking-Owl (
(Se habla PGP.)