c++ Algorithm remove Removing duplicates -for both values
My Specialspecial case: Home Projecthome project, Automatic Downloaderautomatic downloader for Podcastspodcasts.
Overall Algorithmalgorithm is:
Algorithm Discussion: http://stackoverflow.com/questions/28495409/c-algorithm-remove-duplicates-both-valuesAlgorithm discussion
- Hoping for comment on using std::rotate
- Hoping for comment on performance
- Hoping for comment on Implementation
I'm hoping for comments on using std::rotate
, performance, and the implementation.
For downloaded data i, I currently ususe a vector.
For data from DB i, I also use a vector, too.
I merge both together, i and sort itthem according to the hashes (obviously).
And algorithm doubleEraserdoubleEraser
on the merged vector.
_
c++ Algorithm remove duplicates - both values
My Special case: Home Project, Automatic Downloader for Podcasts.
Overall Algorithm is:
Algorithm Discussion: http://stackoverflow.com/questions/28495409/c-algorithm-remove-duplicates-both-values
- Hoping for comment on using std::rotate
- Hoping for comment on performance
- Hoping for comment on Implementation
For downloaded data i currently us a vector.
For data from DB i use a vector, too.
I merge both together, i sort it according to the hashes (obviously).
And algorithm doubleEraser on the merged vector.
_
Removing duplicates for both values
My special case: home project, automatic downloader for podcasts.
Overall algorithm is:
I'm hoping for comments on using std::rotate
, performance, and the implementation.
For downloaded data, I currently use a vector. For data from DB, I also use a vector.
I merge both together and sort them according to the hashes (obviously).
And algorithm doubleEraser
on the merged vector.
- Hoping for comment on using std::rotate
- Hoping for comment on performance
- Hoping for comment on Implementation
For downloaded data i currently us a vector.
For data from DB i use a vector, too.
I merge both together, i sort it according to the hashes (obviously).
And algorithm doubleEraser on the merged vector.
- Hoping for comment on using std::rotate
- Hoping for comment on performance
- Hoping for comment on Implementation
For downloaded data i currently us a vector.
For data from DB i use a vector, too.
I merge both together, i sort it according to the hashes (obviously).
And algorithm doubleEraser on the merged vector.