In message <[email protected]>
          Rob Kendrick <[email protected]> wrote:
> 
> I've CCed the netsurf-dev list with this, as it might be interesting
> for the non-RISC OS developers, as an insight into restrictions we have
> to keep in mind if we want to continue supporting RISC OS.  I hope you
> don't mind.

One partial solution springs to mind for all this - use more dynamic areas.
Say one area per page, then when when Netsurf discard the page, destroy the
DA as well. Maybe extra DAs for cached content as well?

I am not familiar with the internal structures used to hold a page's data
etc but is this worth looking in to?

One thing that springs to mind is that rather than just storing a pointer
to some allocated memory, you'd need a reference to the DA as well.

In the past I've had cause to create a lot of DAs and RISC OS doesn't seem
to suffer noticably with a hundred or so, as far as I remember.

-- 
Rik Griffin
Software Engineer, Denbridge Marine Ltd
Registered in England and Wales at DSG, 43 Castle St, Liverpool. L2 9TL.
Registered Number 4850477.

Reply via email to