bug-gnulib
[Top][All Lists]
Advanced

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

Re: immutable string type


From: Ben Pfaff
Subject: Re: immutable string type
Date: Sat, 28 Dec 2019 08:54:11 -0800

On Sat, Dec 28, 2019 at 3:17 AM Bruno Haible <address@hidden> wrote:
> Would you find it useful to have an immutable string type in gnulib?

I like this idea! Actually the idea of having primitives for allocating and
filling data and then getting read-only access to it is a good one in
general.  I haven't worked with anything like this before, so perhaps the
real value of it won't be apparent without some experience.

This sort of thing won't work on systems with virtually indexed caches,
at least not without inserting explicit flushes.  I don't know whether
virtually indexed caches still exist in the wild.



reply via email to

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