Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Matlab Type Provider is slow on non-SSD machines #2

Open
Rickasaurus opened this issue Aug 15, 2013 · 3 comments
Open

The Matlab Type Provider is slow on non-SSD machines #2

Rickasaurus opened this issue Aug 15, 2013 · 3 comments
Assignees

Comments

@Rickasaurus
Copy link
Contributor

Currently the filesystem is walked and functions are parsed repeatedly, leading to unacceptable behavior on machines without fast disk access.

I suspect an intelligent function cache is the best solution, as there is no direct way to discover functions via the console.

@ghost ghost assigned Rickasaurus Aug 15, 2013
@Rickasaurus
Copy link
Contributor Author

Two other options:

  1. provide an executable which will build the function cache on slow machines
  2. use a data structure inside of matlab to keep track of matlab related metadata.

@Rickasaurus
Copy link
Contributor Author

Howard suggested that this might be mitigated by initially polling just root toolboxes and loading the rest lazily. To do this each of them would need to be a namespace with lazily loaded objects in it.

@Rickasaurus
Copy link
Contributor Author

Potential Fix in commit 17aaae2
Now lazily parsing/querying for matlab functions. This will probably fix the issue but it needs to be tested on a machine with a slow disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant