Git Product home page Git Product logo

Comments (6)

djacks6278 avatar djacks6278 commented on September 15, 2024

change spigot.yml option

tab-complete: -1

this solution will be work nice

from protocolsupportpocketissues.

WesleyVanNeck avatar WesleyVanNeck commented on September 15, 2024

@magicus I think this prio is high and it isn't a visual glitch

from protocolsupportpocketissues.

Shevchik avatar Shevchik commented on September 15, 2024

Blame pe for doing it way too slow.

from protocolsupportpocketissues.

WesleyVanNeck avatar WesleyVanNeck commented on September 15, 2024

#blamemojang #blamePE

from protocolsupportpocketissues.

magicus avatar magicus commented on September 15, 2024

I agree with Shev. It's hard to do anything about; apparently PE has some non-linearity in how it handles their data structures. Possible fixes includes:

  1. Disabling tab completion altogether
  2. Disabling tab completion completely if the number of commands pass a certain limit
  3. Arbitrarily dropping commands from tab completion after a limit
  4. Trying to merge the expanded PE "command node chains" into the more compact "nodes with alternatives" that PE seem to use internally, in the hope that this improves performance.

None of the solutions seems particularly attractive. The option 4 seems like the only chance to have a really desirable result, but we don't know if it will work, and going there will require quite a bit of complex algorithms -- which in worst case will have an unacceptable performance cost at the server. It wouldn't surprise me if such merging would end up at O(n^2) or above, and then we'd just shift the penalty to the server.

from protocolsupportpocketissues.

magicus avatar magicus commented on September 15, 2024

There is a work-around suggested above, which is basically 1), but as an option you can select yourself. I can't seriously think of a much better way to handle this.

from protocolsupportpocketissues.

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.