I get an array of objects from a function.
But since the same array comes several times in a row (every 80ms) I want to discard the following one to save computing time.
How can I compare this array fast if the length of the array and the content can be different?
p.s the objectarrays are in a list. so normally i have to compare the list with the list send before. But as i read i have to compare the content
is it possible to create a hash from this list and only compare the hash?
But since the same array comes several times in a row (every 80ms) I want to discard the following one to save computing time.
How can I compare this array fast if the length of the array and the content can be different?
p.s the objectarrays are in a list. so normally i have to compare the list with the list send before. But as i read i have to compare the content
is it possible to create a hash from this list and only compare the hash?
Last edited: