BinaryDataContainer swapping ? ...

Noel Grandin noelgrandin at gmail.com
Mon Apr 3 10:20:18 UTC 2023


On Mon, 3 Apr 2023 at 10:50, Michael Meeks <michael.meeks at collabora.com>
wrote:

>         Anyhow - I was doing some re-factoring of the BinaryDataContainer
> to encapsulate it better; and I was thinking of adding the ability to swap
> these out (which should be async), and to then read them back in on demand
> which (I hope) in the era of SSDs - should be extremely fast, although
> synchronous.
>
>
My view of this, is that

(a) we have had virtual memory for several decades now
(b) the OS already has a swap file, and optimised paths for dealing with
that

So we should just dump all of this explicit swapping to disk we do and let
the OS do its thing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230403/e53dfd5c/attachment.htm>


More information about the LibreOffice mailing list