Coder Social home page Coder Social logo

Comments (6)

olafurpg avatar olafurpg commented on August 15, 2024 2

Closing as wontfix for now. We have no evidence so far to suggest that full text synchronization is a performance bottle-neck in Metals.

from metals.

olafurpg avatar olafurpg commented on August 15, 2024 1

@ivanopagano during the initialize handshake, the server communicates if it supports incremental/full text synchronization and it's not possible to change the mode after that.

from metals.

gabro avatar gabro commented on August 15, 2024

What's the downside of full text sync? Did you observe/suspect any perfect degradation because of this?

from metals.

olafurpg avatar olafurpg commented on August 15, 2024

Haven't observed any problems, just find it unsatisfying that the full source file is moved on every keystroke. I haven't worked with it in larger files however (>7k loc)

from metals.

gabro avatar gabro commented on August 15, 2024

It makes sense. Let's only hope we don't suddenly start goin out of sync :)

from metals.

ivanopagano avatar ivanopagano commented on August 15, 2024

I'm talking out of the blue (no idea what we're talking about really), but wouldn't it be possible to do "checkpoints" every once in a while, redoing full sync, and use incremental sync in-between checkpoints?

from metals.

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.