-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Zip/Jar file random access #552
Comments
No idea. I only know of archive-mode, but I guess you know about it too. I guess you might ask about this on the |
jeffvalk
added a commit
to jeffvalk/cider
that referenced
this issue
Jun 1, 2014
bbatsov
added a commit
that referenced
this issue
Jun 1, 2014
[Fix #552] Load resources from jar/zip files efficiently.
dgtized
pushed a commit
to dgtized/cider
that referenced
this issue
Jun 24, 2014
Instead of loading the entire `.jar` file into a buffer, just extract the single resource to be displayed. Mark it read-only. If that resource is already open, reuse it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever a file contained in a zip archive (jars included) is accessed,
cider-find-resource
extracts the entire archive. This causes as slight (but noticeable) delay when opening Clojure 1.6 sources (3.7MB), and a significant delay in opening the JDK7src.zip
(42MB).This seems pretty unnecessary, since zip archives support random access. Is there support in Emacs for reading zip file contents without dumping the whole archive? My digging into the question didn't offer much enlightenment...
The text was updated successfully, but these errors were encountered: