Miles Sabin wrote: > > David Brownell wrote, > > would you seriously expect DOM to save you the work of > > writing such a simple subroutine? If so, why? > > How about: because some implementations might be able to > provide an O(1) implementation, whereas an external routine > would be likely to be O(number of siblings) or thereabouts. The original comment was more along the lines of "can't do this, why? aaagh!" as I recall ... not the "it's too slow" that you seem to be suggesting it was. It's common that some special purpose task can be sped up by putting it into infrastructure. But that in itself is rarely a compelling motivation for making it a "standard, everyone must implement this" part of an infrastructure. If everyone has to pay for it, everyone _ought_ to benefit more or less equally from it. - DaveReceived on Wednesday, 1 March 2000 13:56:04 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:51 GMT