ï

Hi,

 

Iâm writing an application that performs complex computations on biomolecules. The application needs to read a number of different structures (= molecules) from disk and then perform the necessary calculations.  These molecules are held in a stl vector, for example:

std::vector <CMolecule> m_vMolecules;

 

This works fine as long as the vector doesnât exceed the RAM memory. Unfortunately, this is not the general case because the number of molecules to be read is typically higher than 20,000 and so, when the RAM memory is not enough, the applicationâs efficiency decreases dramatically. Perhaps I could try to read only the molecules that donât go above the memory and when the rest of the molecules are needed, release the first chunk and read a new one. Is this a good approach? If so, any help on the best way to implement this scheme?

 

Thanking in advance,

Carlos

_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to