Skip to content

Add the option to shortcut eproject file searching if project already open.#58

Open
stsquad wants to merge 1 commit intojrockway:masterfrom
stsquad:shortcut-search
Open

Add the option to shortcut eproject file searching if project already open.#58
stsquad wants to merge 1 commit intojrockway:masterfrom
stsquad:shortcut-search

Conversation

@stsquad
Copy link
Contributor

@stsquad stsquad commented Apr 11, 2013

I present this for discussion rather than actual merge material. I'm
sure there are cleaner ways to achieve what we want. However for the
time being this ameliorates the rather crippling performance I was
seeing over TRAMP.

open.

When working remotely over something like TRAMP performance can be
severely impacted as eproject checks against all possible eproject
types. This optimisation will assume that if a file is opened in a
subdirectory of an existing loaded project then we can use that
definition.

This breaks sub-projects although this could be mitigated if we sort
the existing roots by length and the user opens sub-projects before
the main project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant