Re: NameChar (was: Editing text)
Richard Tobin (richard@cogsci.ed.ac.uk)
Fri, 28 Nov 1997 14:08:26 GMT
> The fastest solution would be to maintain a static 65,536
> (or at least 32,768) entry array, with bit flags for different
> character properties. That would be fine for big programs, but it
> would kill Java applets
Bear in mind that the main problem of size for Java applets is the
time taken for downloading, rather than the memory used at runtime.
So it may well be practical to store the data in a compact-but-slow
form and use that to initialise a large-but-fast lookup table.
-- Richard