Relative Content

Tag Archive for indexing

Data retrieval and indexing

I have around 800,000 rows of data stored in the boost shared memory from the database. The data are in the form:

Data retrieval and indexing

I have around 800,000 rows of data stored in the boost shared memory from the database. The data are in the form:

Algorithm for indexing strings in “list”

Imagine I have file called strings.dat. Inside this file there are a lot of strings, for example: one million. Strings are sorted. Now I want to find a specified string, so I can write method like this: