memory-mapped-files
"live C++ objects that live in memory mapped files"?
So I read this interview with John Carmack in Gamasutra, in which he talks about what he calls \"live C++ objects that live in memory mapped files\". Here are some quotes:[详细]
2023-03-30 05:11 分类:问答Memory-Mapped Files vs. RAM Disk
For the game Minecraft, the general approach when running the server application is to run it in a RAMDisk, as it is uses hundreds of tiny files for world generation, and the I/O speeds are the major[详细]
2023-03-28 09:12 分类:问答Does sqlite C\C++ library keep DB file as Memory-mapped file? and is it possible to make it do so?
So I wonder how sq开发者_高级运维lite C/C++ API keeps opened DB: does it use Memory-mapped file? Or how to make it do so?Yes, it does. Just search sqlite3.c for CreateFileMapping.By default, SQLite us[详细]
2023-03-28 00:40 分类:问答Data structure Memory Mapped or DB? (millions of items)
I have a data structure which is essentially a lookup for some calculations that take a really long time (100ms) to calculate and need to be used over and over. I have roughly 6,000,000 of these calcu[详细]
2023-03-27 03:16 分类:问答Can multiple threads see writes on a direct mapped ByteBuffer in Java?
I\'m working on something that uses ByteBuffers built from memory-mapped files (via FileChannel.map()) as well as in-memory direct ByteBuffers.I am trying to understand the concurrency and memory mode[详细]
2023-03-27 01:15 分类:问答valgrind reporting non-freed blocks
Valgrind leak file summary: ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) malloc/free: in use at exit: 45,065 bytes in 12 blocks.[详细]
2023-03-26 14:57 分类:问答c# MemoryMappedFile in .net 3.5
I need开发者_运维百科 to use MemoryMappedFile class in .net 3.5... is there any way to find the code of the classes used in .net 4.0 and create to use in .net 3.5?[详细]
2023-03-26 00:42 分类:问答Python: handling a large set of data. Scipy or Rpy? And how?
In my python environment, the Rpy and Scipy packages are already installed. The pr开发者_开发技巧oblem I want to tackle is such:[详细]
2023-03-23 05:40 分类:问答How do memory-mapped files handle I/O errors?
I am modifying a tool that currently opens files and reads them with fread() to use memory-mapped file开发者_如何学JAVAs. This program frequently reads from devices that may have I/O errors. Currently[详细]
2023-03-22 19:13 分类:问答Would it make sense to use MemoryMappedFile to perform a search on large text files?
I\'m tasked with implementing a search function that will search through several large (couple MB) log files and return the lines that contain the keywords. Log files are constantly being added to the[详细]
2023-03-21 16:03 分类:问答