Hi, I'm writing a Rust application on Linux and I have 19MB of binary data stored in a vector which I load from a file. I need my application to use as little memory as possible as measured by RSS (Resident set size) while still being fast at retrieving the data entries when queried. Loading the data on demand from a file on disk takes too long. This is not a real world application so hacky solutions can be used here. Is there any way of "hiding" the data memory usage from RSS measurement?
submitted by /u/ThrasherLT
[link] [comments]
from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/9XAUCdt