Re: [Element Traversal LC] access to element by index

Henri Sivonen wrote:
> Allowing app code to index into platform 
> structures that are most commonly forward-iterated seems like an 
> anti-pattern in terms of what implementation constraints are placed if 
> the impression that the app developer gets is that indexing has the 
> performance properties of array access and that it is OK to write app 
> code with that assumption.

AS you noted in another post, in practice app developers assume that anything 
they do will be fast and when it's not they blame the UA.  And therefore, no 
matter which access pattern you expose it has to be fast.

-Boris

Received on Wednesday, 2 April 2008 19:07:26 UTC