Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / How do I compare arrays quickly for differences

Author
Message
lukeo25
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 14th Aug 2003 04:19
I want to compare two arrays ( Array1 ) ~= ( Array2 ) realy quickly not line by line by line.
does anybody know of a way to do this so that the result will give the part of the array that has the most difference.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 14th Aug 2003 05:15 Edited at: 14th Aug 2003 05:15
Be a bit more specific. What data are you using the array to hold and how big are the arrays?

If they just contain numbers then



I don't know of a faster way.
lukeo25
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 14th Aug 2003 05:39
Thats exactly what I need.
Thanks

Login to post a reply

Server time is: 2024-04-24 00:58:54
Your offset time is: 2024-04-24 00:58:54