RE: Older Sibling?

Joe Kesselman wrote,
> Just a coding tip:
> If an optimized operation isn't supported directly in the DOM, 
> consider writing a library routine to encapsulte it. This could 
> use custom calls against DOM implementations that provide 
> shortcuts, but fall back on standard DOM operations for those 
> which don't have such features.

We've done that where appropriate but it's a Disgusting Hack(tm).

In fact, a lot of the overhead can be eliminated by testing
just once against the DOMImplementation and getting back an
object which supports a variety of optimized operations over
any instance of that impl ... 



Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England

Received on Wednesday, 1 March 2000 11:11:56 UTC