Skip to content

[BUG]/[Feature Request] Solve slows my typing A LOT #69

@Phenixis

Description

@Phenixis

Is your feature request related to a problem? Please describe.
This is between a bug and a feature request, because when I'm typing and Solve is turned on, I notice some lags and freeze as I type. I know this comes from Solve because it doesn't occur when Solve is turned off.

Describe the solution you'd like
One solution for this would be to debounce your query, instead of querying your back-end logic to find a calcul at each stroke, query it only when there has been no stroke for the last 500ms or something like that. I don't know if you can use a library or something to do it easily, but this is probably a solution

Describe alternatives you've considered
For now, I just turned off Solve until I need it to be honest, but that's a shame because I really love this plugin and how easy and unobtrusive it is.

Additional context
I would like to add that it may come from my laptop, even if it would surprise me. Here are my specs :
CPU : Intel i5-1135G7 @ 2.40GHz
GPU : Intel integrated
RAM : 32Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions