ddnCanMemoryMapSize

fnbool ddnCanMemoryMapSize(size_t fileSize) @safe pure nothrow @nogc

Decide whether memory mapping should be attempted for a file of fileSize bytes on the current platform.

  • On 64‑bit (size_t.sizeof == 8): always true.
  • On 32‑bit: true only when fileSize <= ddnMaxMmapSize32.