If those are simple dynamic objects you can write them to ByteArray and compare them, it will be faster than using ObjectUtils. Everything in AS, except for numeric types (but not Date), strings and booleans are references, Array.indexOf() uses strict equality (compares references), so even if there will be 1 and "1" indexOf will not treat them as same. But, most of the time this is what you want :) There's also Array.filter method, but it's slower then a simple loop. But may look somewhat prettier :)
- [flexcoders] How to remove duplicate objects from an array of... Warren
- Re: [flexcoders] How to remove duplicate objects from an... Alex Harui
- Re: [flexcoders] How to remove duplicate objects fro... Oleg Sivokon
- Re: [flexcoders] How to remove duplicate objects... Warren
- Re: [flexcoders] How to remove duplicate obj... Oleg Sivokon
- Re: [flexcoders] How to remove duplicat... Warren
- Re: [flexcoders] How to remove dupl... Oleg Sivokon
- Re: [flexcoders] How to remove ... Oleg Sivokon
- Re: [flexcoders] How to remove ... Oleg Sivokon
- Re: [flexcoders] How to remove ... Oleg Sivokon
- Re: [flexcoders] How to remove ... Warren
- Re: [flexcoders] How to remove ... Warren
- Re: [flexcoders] How to remove ... Oleg Sivokon
- Re: [flexcoders] How to remove ... Warren
- Re: [flexcoders] How to remove ... Oleg Sivokon