itazev Posted May 6, 2007 Share Posted May 6, 2007 Hey everyone! I am coding javascript with arrays in a way that a pop up window controls the array items on the parent window it works but gets slower to add an item to the array as it get more and more items on it. I mean 10 items on the array will bother the user pop up window manipulating the parent's array: window.opener.ArrUn[ index ] = document.list.un.value; window.opener.ArrDescID[ index ] = selectedID; window.opener.ArrDesc[ index ] = selectedText; window.opener.display(1); on IE it seems to be slightly faster the FF appreciate any help! Link to comment https://forums.phpfreaks.com/topic/50243-slow-array-10-items-on-it/ Share on other sites More sharing options...
fenway Posted May 6, 2007 Share Posted May 6, 2007 An array of 10? Hard to believe. Link to comment https://forums.phpfreaks.com/topic/50243-slow-array-10-items-on-it/#findComment-246644 Share on other sites More sharing options...
itazev Posted May 6, 2007 Author Share Posted May 6, 2007 really! Pentium 4 1gb ram i think it may be related to the fact that it access the array in another window but Thank you! Link to comment https://forums.phpfreaks.com/topic/50243-slow-array-10-items-on-it/#findComment-246750 Share on other sites More sharing options...
fenway Posted May 7, 2007 Share Posted May 7, 2007 How have you profiled this/ Link to comment https://forums.phpfreaks.com/topic/50243-slow-array-10-items-on-it/#findComment-247266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.