[Python-ideas] Application awareness of memory storage classes
Terry Reedy
tjreedy at udel.edu
Wed May 18 21:30:41 EDT 2016
On 5/18/2016 1:11 PM, R. David Murray wrote:
> On Tue, 17 May 2016 17:07:59 -0400, Terry Reedy <tjreedy at udel.edu> wrote:
>> How is non-volatile NVRAM different from static SRAM?
> NVRAM retains the data even if it loses power.
OK, I mis-remembered the battery-backup part, and was thinking of flash
memory at 'static' rather than 'non-volatile'. A third term really is
needed.
>> A list does not seem like a good candidate for static mem, unless insert
>> and delete are suppressed/unused.
>
> Why not? The point isn't that the memory is *static*, it's that it is
> *persistent*.
Because each is an O(n) operation. I was thinking of non-volatile
writes as been relatively slow and in some sense more costly, but maybe
that is not necessarily the case for new designs.
--
Terry Jan Reedy
More information about the Python-ideas
mailing list