Home Forums General XMetaL Discussion Does using associative arrays slow things down? Reply To: Does using associative arrays slow things down?

russurquhart1

Reply to: Does using associative arrays slow things down?

That's interesting. (I have yet to try taking the formatting off. You're right i don't really need that, it was some code from another bit of code i copied.)

However, when i was running my script at it was with the xpath expressions, it would take, for this document, 5 minutes to copy the elements to the array (the length was reported almost immediately) and another five minutes to compare the pointer to the targets.

My document is about the same number of found pointers and targets, and a buch of other elements, so maybe that is it, but there was a GREAT time diff.

I'll look some more on my end. Thanks for the heads up alternate algorithm.

Russ

Reply

Products
Downloads
Support