Coder Social home page Coder Social logo

elm-lens has long startup time about elm-lens HOT 4 OPEN

mbuscemi avatar mbuscemi commented on May 29, 2024
elm-lens has long startup time

from elm-lens.

Comments (4)

jhrcek avatar jhrcek commented on May 29, 2024 1

No complex structures, just a lot of files :) It's just that I don't use atom for elm programming, but sometimes I need to open complex java project (with thousands of files), in which case waiting for editor startup for 20 seconds is annoying. I can disable elm-lens in such cases, but I consider it suboptimal. Otherwise I like the plugin very much :)

from elm-lens.

halohalospecial avatar halohalospecial commented on May 29, 2024 1

Maybe only start processing when the opened file is a .elm file?

from elm-lens.

mbuscemi avatar mbuscemi commented on May 29, 2024

Probably has to do with the fact that I'm searching for Elm files using synchronous file system commands. I'll have to explore the implications of doing that asynchronously.

Also, I'm filtering out "node_modules", "elm-stuff", and directories that begin with ".". Are there other structures in your file system that can be safely passed over, or do you simply have a super-complex folder hierarchy of your own making?

from elm-lens.

sigod avatar sigod commented on May 29, 2024

Just stumbled on this issue.

image

Are there other structures in your file system that can be safely passed over, or do you simply have a super-complex folder hierarchy of your own making?

I have a couple of Rust projects open at the same time. Rust's target folder is famous for containing a huge number of files. For example, target of one of the more complicated projects:

Total space occupied:
22,804,577,162 bytes in 41,557 file(s),
in 4,029 directories

(= 22,270,094k, 21,748M, 21G)

from elm-lens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.