16 Jul
2008
16 Jul
'08
3:22 p.m.
ari vol wrote:
The problem with this solution is that it is time consuming, to open file for a key, i would like to use the boost serializeation to improve time preformance.
What is realy required is some mechanism, to identify an instance according to its key and only than read its data. Thus reading only the required instnace (accordig to its key) and not also the previous data at the file, someting like seek.
It sounds as though you're describing a database. Try storing your serialized output into a row of a database, with the key of interest.