Branch: refs/heads/master Home: https://github.com/yi-editor/yi Commit: 6d7facf04701b8741a19a2b3acd35c9df6d57162 https://github.com/yi-editor/yi/commit/6d7facf04701b8741a19a2b3acd35c9df6d57162 Author: Dmitry Ivanov <dmi...@aboutecho.com> Date: 2014-03-27 (Thu, 27 Mar 2014)
Changed paths: M yi/src/library/Yi/File.hs Log Message: ----------- Reduce memory consumption when opening big files. Yi tries to guess filetype by looking at file contents in String form, that means an order of magnitude memory overhead. This commit changes this behavior to looking just at first 1K of file contents. -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.