Use a memory-mapped file and walk backwards. The OS will page in the needed parts of the file in reverse order.
More Related Contents:
- Why is std::is_pod deprecated in C++20?
- Memory alignment : how to use alignof / alignas?
- reinterpret_cast between char* and std::uint8_t* – safe?
- How to store array in one column in Sqlite3?
- Why can’t I static_cast between char * and unsigned char *?
- Check if a type is from a particular namespace
- what does `using std::swap` inside the body of a class method implementation mean?
- What does _T stands for in a CString
- How to implement a unmanaged thread-safe collection when I get this error: is not supported when compiling with /clr
- C++ RTTI Viable Examples [closed]
- Portable Compare And Swap (atomic operations) C/C++ library?
- How does =delete on destructor prevent stack allocation?
- Difference between a C++ exception and Structured Exception
- how do arrays work internally in c/c++
- how does the stl’s multimap insert respect orderings?
- Understanding -Weffc++
- C++ Copy constructor gets called instead of initializer_list
- new, delete ,malloc & free
- Why is a c++ reference considered safer than a pointer?
- Why does the free() function not return memory to the operating system?
- Advantages of using initializer list? [duplicate]
- How to implement Tesseract to run with project in Visual Studio 2010
- Is lambdification of a concept an improvement or bad practice?
- What happens when I mix signed and unsigned types in C++?
- What is the order of evaluation in a member initializer list?
- Does ‘auto’ type assignments of a pointer in c++11 require ‘*’?
- Should objects delete themselves in C++?
- Why is valarray so slow?
- Why can’t C++11 move a noncopyable functor to a std::function?
- How do I use google mock in C?