[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: deleting contents of an array.
From: |
Michal |
Subject: |
Re: deleting contents of an array. |
Date: |
Tue, 11 Mar 2008 14:50:18 +0100 |
User-agent: |
mozilla news reader |
bojohan+news@dd.chalmers.se (Johan Bockgård) writes:
> Yes, but
>
> Insertion and deletion in a buffer must check all the markers and
> relocate them if necessary. This slows processing in a buffer with
> a large number of markers. For this reason, it is a good idea to
> make a marker point nowhere if you are sure you don't need it any
> more. Unreferenced markers are garbage collected eventually, but
> until then will continue to use time if they do point somewhere.
Johan,
Thank You for suggestion
Regards,
Michal