[performance] NewArrayNodeSet should cache the collection set; it is used frequently. Fixes performance regression between 1.2.x and 1.4.x. Port of rev 11642.
[performance] NewArrayNodeSet should cache the collection set; it is used frequently. Fixes performance regression between 1.2.x and 1.4.x. Port of rev 11642.

svn path=/trunk/eXist/; revision=11646

wolfgangmm/exist,adamretter/exist,jensopetersen/exist,hungerburg/exist,hungerburg/exist,jensopetersen/exist,eXist-db/exist,ambs/exist,ljo/exist,hungerburg/exist,windauer/exist,zwobit/exist,windauer/exist,wshager/exist,eXist-db/exist,windauer/exist,ambs/exist,RemiKoutcherawy/exist,shabanovd/exist,lcahlander/exist,eXist-db/exist,patczar/exist,dizzzz/exist,wolfgangmm/exist,jessealama/exist,wolfgangmm/exist,windauer/exist,patczar/exist,opax/exist,ljo/exist,shabanovd/exist,dizzzz/exist,eXist-db/exist,eXist-db/exist,olvidalo/exist,shabanovd/exist,dizzzz/exist,joewiz/exist,shabanovd/exist,wshager/exist,RemiKoutcherawy/exist,ambs/exist,olvidalo/exist,zwobit/exist,joewiz/exist,wshager/exist,MjAbuz/exist,kohsah/exist,lcahlander/exist,olvidalo/exist,ljo/exist,MjAbuz/exist,lcahlander/exist,RemiKoutcherawy/exist,adamretter/exist,kohsah/exist,kohsah/exist,jensopetersen/exist,opax/exist,kohsah/exist,jessealama/exist,joewiz/exist,kohsah/exist,jessealama/exist,wshager/exist,ambs/exist,zwobit/exist,joewiz/exist,adamretter/exist,opax/exist,wolfgangmm/exist,opax/exist,hungerburg/exist,shabanovd/exist,patczar/exist,hungerburg/exist,adamretter/exist,lcahlander/exist,jessealama/exist,joewiz/exist,jessealama/exist,kohsah/exist,patczar/exist,ambs/exist,ljo/exist,windauer/exist,dizzzz/exist,windauer/exist,wshager/exist,jensopetersen/exist,ljo/exist,RemiKoutcherawy/exist,olvidalo/exist,joewiz/exist,jensopetersen/exist,eXist-db/exist,wolfgangmm/exist,zwobit/exist,ljo/exist,MjAbuz/exist,lcahlander/exist,jessealama/exist,adamretter/exist,jensopetersen/exist,patczar/exist,MjAbuz/exist,wolfgangmm/exist,dizzzz/exist,wshager/exist,olvidalo/exist,RemiKoutcherawy/exist,RemiKoutcherawy/exist,MjAbuz/exist,dizzzz/exist,opax/exist,MjAbuz/exist,patczar/exist,zwobit/exist,adamretter/exist,shabanovd/exist,zwobit/exist,lcahlander/exist,ambs/exist