Giter VIP home page Giter VIP logo

Comments (8)

s-kostyaev avatar s-kostyaev commented on June 11, 2024 2

Can we cache results somehow (in memory perhaps) for speedup autocompletion?

from bingo.

saibing avatar saibing commented on June 11, 2024 2

@imjustfly @s-kostyaev

我已经提升级自动补全的性能, 请下载最新版本试用一下.

I have improved the performance of auto-completion, please download the latest version to try it out.

from bingo.

saibing avatar saibing commented on June 11, 2024

@imxyb
你是在Windows下使用vscode吗? 因该是Windows路径风格导致的,我已经解决了,请下载新版本试一下。

from bingo.

imxyb avatar imxyb commented on June 11, 2024

@saibing 我是mac的。我试试新版本

from bingo.

imjustfly avatar imjustfly commented on June 11, 2024

寻找定义和引用快了很多。代码补全感觉相较于 go-langserver 来说延迟还是有点大,大项目(比如 codis)更加明显,要等待几秒的时间。

from bingo.

saibing avatar saibing commented on June 11, 2024

代码补全跟磁盘性能相关。go-langserver采用的是从编译后.a文件中读取的,如果提前编译好了,速度会很快,但编译后,新增的代码无法实时联想出来。bingo是实时分析当前已经编辑过的文件(主要要调用一个外部命令go list),速度会差一些。

但在SSD硬盘速度应该是可以接受的。你启用一下bingo的-disable-diagnostics开关,把实时的diagnostics关闭掉,看是否有提升?

from bingo.

imjustfly avatar imjustfly commented on June 11, 2024

@saibing 感谢,是有一定的提升的,延迟还是有点大,不过也不是不能接受。

from bingo.

imjustfly avatar imjustfly commented on June 11, 2024

@saibing 感谢!测试比以前有可以感知的性能提升,在我这里日常使用没有性能问题。

from bingo.

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.