No objections from me if it will still work.  Is there any expectation about 
immutability of the array?  If you are iterating it and the loop executes some 
other operation on the XML, could it change the array and mess up the iteration?

-Alex

On 11/18/18, 8:29 AM, "Harbs" <[email protected]> wrote:

    Xml has the following two methods:
    
    getAttributeArray() and getChildrenArray()
    
    These do not exist in the E4X spec, but I added them to get the underlying 
attribute and children of an XML object to make it possible to add performance 
optimizations in JS if desired.
    
    Currently in returns a copy of the arrays, but I’m thinking that it should 
really return the original array to prevent extra garbage collection if the 
purpose of these methods are for optimization.
    
    Any objections to me making this change?
    
    Harbs

Reply via email to