[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: immutable string type

From: Bruno Haible
Subject: Re: immutable string type
Date: Sun, 29 Dec 2019 10:29:53 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-170-generic; KDE/5.18.0; x86_64; ; )

Ben Pfaff wrote:
> This sort of thing won't work on systems with virtually indexed caches,
> at least not without inserting explicit flushes.

Good point. Yes, explicit data cache flushing instructions or - in the worst
case - system calls are necessary.

> I don't know whether
> virtually indexed caches still exist in the wild.

Yes, data caches are indexed by virtual address, not by physical address, on
many platforms. That makes the common case of a cache lookup faster.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]