[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58158: 29.0.50; [overlay] Interval tree iteration considered harmful
From: |
Gerd Möllmann |
Subject: |
bug#58158: 29.0.50; [overlay] Interval tree iteration considered harmful |
Date: |
Fri, 06 Oct 2023 15:14:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> In its current form, interval tree iteration works like this:
>
> 1. Call begin_iteration(T) to iterate over tree T
> 2. do stuff
> 3. Call end_iteration(T)
>
> with the following rules:
>
> - Begin_iteration and end_iteration must be paired.
>
> - There can be only one iteration per tree at a time. Nested iteration
> over the same tree is not supported (abort).
>
> - No GC may happen in step 2. This is because mark_buffer iterates over
> buffer overlays.
>
> I think this is an exceedingly dangerous design.
Time has passed, and I think this is no longer relevant.
I'm therefore closing this bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#58158: 29.0.50; [overlay] Interval tree iteration considered harmful,
Gerd Möllmann <=