Short topics in memory management
Posted Mar 7, 2007 16:50 UTC (Wed) by
ibukanov (subscriber, #3942)
In reply to:
Short topics in memory management by dion
Parent article:
Short topics in memory management
> It would make a persistent cache a bit tricky,
The trick is to use relative offsets instead of pointers in the data that goes into the mapped file. It has an extra benefit of a more secure code since it is easier to add bound-check for the offsets then checking the pointers.
(
Log in to post comments)