[
Lists Home |
Date Index |
Thread Index
]
James Clark wrote:
> Interesting. Those are compelling use cases but this significantly
> complicates things. In particular, automatically using entities on
> output becomes much more complicated. Instead of a simple hash table
> that maps character codes to entities, you have to have a trie. I also
> see a slippery slope opening up here:
Indeed. In practice, it seems that giving characters names creates very
few problems, while general-purpose macros of zero arguments (aka
entities) are very expensive. Maybe there's an 80/20 point for math
and the rest of the special-character-intensive communities with
some form of single-character-replacement. -Tim
|