Re: Compare Datasets or Arrays
From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 02/09/05
- Next message: Cor Ligthert: "Re: Column Style"
- Previous message: Mosaic: "Re: MCSD certification - is it still necessary to land a job?"
- In reply to: Justin Emlay: "Compare Datasets or Arrays"
- Next in thread: guy: "RE: Compare Datasets or Arrays"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 9 Feb 2005 09:49:19 +0100
Justin,
This is the most classic dataprocessing what already whas done on Hollerith
machines. It was called "matching" in that cardpunch concept. That is still
the fastest.
It is doing going foreward in the arrays by matching everytime the keys of
that, it assumes that both arrays are sorted on the key value.
When that is not the case than you can make first from arrayB a tempory
hashtable/sortedlist and than match the keys of arrayA if they are in that
and set than the values to true.
The hashtable/sortedlist gives than at the end the missing members.
I hope this helps?
Cor
- Next message: Cor Ligthert: "Re: Column Style"
- Previous message: Mosaic: "Re: MCSD certification - is it still necessary to land a job?"
- In reply to: Justin Emlay: "Compare Datasets or Arrays"
- Next in thread: guy: "RE: Compare Datasets or Arrays"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|