Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ui-dev] Startup performance / Lazy creation of editors.

The general rule is 7 +- 2 (I'm a "9" ;), unless of course it's happy hour,
then it's 5 +- n, where n is your BAC * 50, +- the feeley constant (which
varies on the way I feel about all of this at that particular point in
time.)

So 10 is normally a problem for me as well...

-- Scott

==============================================================
Scott Stanchfield         FGM, Inc.            scott@xxxxxxx

Home Page: http://javadude.com            scott@xxxxxxxxxxxx

Lead author of "Effective VisualAge for Java, Version 3"
                                      http://javadude.com/evaj

VisualAge for Java Tips and Tricks     http://javadude.com/vaj
==============================================================




> -----Original Message-----
> From: platform-ui-dev-admin@xxxxxxxxxxx
> [mailto:platform-ui-dev-admin@xxxxxxxxxxx]On Behalf Of Randy Hudson
> Sent: Wednesday, May 01, 2002 10:36 AM
> To: platform-ui-dev@xxxxxxxxxxx
> Subject: Re: [platform-ui-dev] Startup performance / Lazy creation of
> editors.
>
>
> If I ever have more than 10 editors open, there is a problem.  I believe 7
> is the number of items people can remember.
>
>
>
> |---------+--------------------------------->
> |         |           Mike_Wilson@xxxxxxx   |
> |         |           Sent by:              |
> |         |           platform-ui-dev-admin@|
> |         |           eclipse.org           |
> |         |                                 |
> |         |                                 |
> |         |           05/01/2002 08:44 AM   |
> |         |           Please respond to     |
> |         |           platform-ui-dev       |
> |         |                                 |
> |---------+--------------------------------->
>
> >-----------------------------------------------------------------
> -------------------------------------------|
>   |
>                                              |
>   |       To:       platform-ui-dev@xxxxxxxxxxx
>                                              |
>   |       cc:
>                                              |
>   |       Subject:  Re: [platform-ui-dev] Startup performance /
> Lazy creation of editors.                      |
>   |
>                                              |
>   |
>                                              |
>
> >-----------------------------------------------------------------
> -------------------------------------------|
>
>
>
>
> Does anyone *really* believe that restoring 50 editors is a
> useful thing to
> do? Restore the ones which were visible when it shut down plus any others
> which were dirty and throw the rest away.
>
> McQ.
>
>
>
>    Jared Burns
>    <jared-eclipse@xxxxxxxxx>         To:
>                              platform-ui-dev@xxxxxxxxxxx
>    Sent by:                          cc:
>    platform-ui-dev-admin@ecl         Subject:        Re:
>    ipse.org                  [platform-ui-dev] Startup performance / Lazy
>                              creation of editors.
>
>    04/30/2002 04:48 PM
>    Please respond to
>    platform-ui-dev
>
>
>
>
>
> It sounds like this will completely break my editor management view. The
> view
> displays the currently open editors as returned by
> IWorkbenchPage.getEditors(). I don't see how I can find out which editors
> are
> open if the getEditors() API is removed.
>
> It strikes me as a fundamentally bad idea for the Eclipse platform to not
> provide access to the open editors. Maybe I'm missing something here, but
> it
> seems like we have a performance problem that we're just trying
> to avoid by
>
> removing functionality. The correct solution here should be to improve the
> implementation of EditorPart and the code that restores the editors on
> startup.
>
> Why is it so expensive to restore a workbench with 50 editors open? Are we
> opening them serially and processing each editor creation to the fullest?
> Things like block operations and lazy initialization should solve this
> problem - without having to eliminate API.
>
> - Jared
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ui-dev
>
>
>
>
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top