Ok, I just pushed something that should help, at least asymptotically.
There is a small constant penalty, but it should be almost invisible.

However there might be a more obvious leak that will "hide"
the benefits of this.

In any case, I'd be interested in further measurements!

Thanks
-- JP

On Sun, Dec 21, 2008 at 9:59 PM,  <[email protected]> wrote:
>
>
> Comment #1 on issue 216 by JeanPhilippe.bernardy: Memory increase
> http://code.google.com/p/yi-editor/issues/detail?id=216
>
> These are intermediate states of the incremental parser.
> They shouldn't really be garbage collected (at least not all of them)
> since we want to cache them.
>
> If you do an edit at the beginning of the file they should (almost all) be
> GC'ed though.
>
>
> --
> You received this message because you are listed in the owner
> or CC fields of this issue, or because you starred this issue.
> You may adjust your issue notification preferences at:
> http://code.google.com/hosting/settings
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to