[A86] Re: FRAG!


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

[A86] Re: FRAG!




It can and it does.  Try running one of those BASIC games that take up 50k
and have a couple hundred different variables.  Granted, much of the
slowdown is due to excessive paging, not to reordering variables, but it's
the same general concept.  Especially if there is a lot inserting/deleting
of elements in lists and arrays.

> You would think that reordering the memory each time a varable was resized
or
> deleted would slow things down.
>
> > Not exactly.  Exactly true for flash, but not for RAM.
> > RAM is never fragmented in the first place.  Variables
> > are all kept contiguous.  The 86 doesn't have or need
> > a defragmenter.  When variables are added, altered,
> > or deleted, it immediately deals with the change in
> > used RAM.






References: