HaxeFoundation / HaxeFoundation/haxe

Server is slow when collecting many types for completion

Open
#11,837 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Open this project in vscode, do `haxelib install all` and then open `Game.hx`, find `// TODO` place and try to write something like `addc` multiple times fast to see completion lag. `haxe.exclude` helps, but maybe something can be optimized further or push everything but types to completion first.

[stickman.zip](https://github.com/user-attachments/files/17880829/stickman.zip)

Contributor guide

Open the contributing guide

Research direction

Reproduce the lag in VS Code using the attached stickman.zip: run `haxelib install all`, open `Game.hx`, and test completion at the `// TODO` location by typing `addc` repeatedly. Compare behavior with and without `haxe.exclude`; done means the reported completion lag is reduced while completion remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.