I think maintaining a real array of the children is going to increase memory usage. I suspect that the DOM node list is much cheaper than this filtered array.