Git Product home page Git Product logo

Comments (3)

zgpio avatar zgpio commented on June 7, 2024

I agree with your opinion. I may maintain a radical development attitude for two reasons:

  1. This is my first nvim plugin. Maintaining compatibility is a burden for me because I generally use nvim-nightly build.
  2. I converted VimL to Lua just for learning. The current Lua API of tree.nvim is still very rough. If you are a coc.nvim user and want stable file explorer, in fact, coc-explorer is a good plugin, and I admit that compared to coc-explorer, tree.nvim has small significant performance improvement.

Anyway, thanks for your feedback.

from tree.nvim.

litao91 avatar litao91 commented on June 7, 2024

@zgpio
I tried coc-explorer. It's great but in my setup it is significantly slower than defx. When opening a large directory, even a simple cursor moving is slow.

For your reference, in my setup, opening a tree with about 24000 files

  • defx took about 7 secs
  • I haven't profile coc-explorer, but it definitely took more than 5secs, and as I said before, cursor moving is not smooth.
  • Your tree.nvim took about 1.1 secs

Regards

from tree.nvim.

zgpio avatar zgpio commented on June 7, 2024

I just tested it roughly. The performance of defx and coc-explorer for opening dir(16k files) is similar(about 4s). Yes, tree.nvim took only about 1s.
coc-explorer remaps the j/k keys so that cursor moving is not smooth.
I tested it before, it seems the new version of coc-explorer slow down.

from tree.nvim.

Related Issues (14)

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.