Re: Data Retrieval/Insertion Data Structure
From: Gwar (xeno_at_xor.qua)
Date: 07/02/04
- Next message: Ioannis Vranos: "Re: re-setting an array"
- Previous message: Gernot Frisch: "pointer to function"
- In reply to: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Next in thread: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Reply: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 2 Jul 2004 01:43:43 -0700
On Fri, 2 Jul 2004, John Harrison wrote:
>> I have a data record with two fields...<value, date>. I have more
>> than a million of these records. As I add more records into this set,
>> I want a data structure that would be efficient enough to find
>> duplicate records with the same value, and earliest possible date. It
>> should be efficient to insert the records into the data structure. Is
>> there any database structure that I can get help with ??
> The obvious structure would be std::map.
std::multimap?
- Next message: Ioannis Vranos: "Re: re-setting an array"
- Previous message: Gernot Frisch: "pointer to function"
- In reply to: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Next in thread: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Reply: John Harrison: "Re: Data Retrieval/Insertion Data Structure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|