Javascript and JScript Dictionary objects are associative arrays
obj = new Object ; dic = new ActiveXObject("Scripting.Dictionary") ;
My question is ... Is there a difference between the two in terms of efficiency (either space or time) ??
As for functionality, I know that a dictionary is better, because it allows you to use not only scalar types, but also keys. But putting that aside, which one is better / faster?
EDIT:
This is for Windows scripting and not for web development.
EDIT2:
I am particularly interested in search efficiency, since I need to work with large collections.
source share