I have about a 1gb data file that needs to be read at the beginning of my program. This takes about 2 minutes to do. I feel like the answer is "no way", but here is my question.
In matlab, there is the concept of a "workspace". I can ready my giant file into the workspace, then run code that accesses this data, then modify the code, and run it again on the same data without reading it in again. Is there any idea similar to this with c++?