Skip to content

Make TextDocumentManager.documentStore an associative array to speed up members such as TextDocumentManager.getOrFromFilesystem - #399

Merged
WebFreak001 merged 1 commit into
Pure-D:masterfrom
nordlow:doc-man-aa
Aug 13, 2025
Merged

Conversation

@nordlow

@nordlow nordlow commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

dub test passes locally.

@nordlow nordlow changed the title Make TextDocumentManager.documentStore an associative array to speed members such as TextDocumentManager.getOrFromFilesystem Make TextDocumentManager.documentStore an associative array to speed up members such as TextDocumentManager.getOrFromFilesystem Aug 8, 2025
Comment thread lsp/source/served/lsp/textdocumentmanager.d Outdated
@WebFreak001

Copy link
Copy Markdown
Member

with the change in general if uri is changed in a document it will become inconsistent with the storage so maybe we should also restrict that member now

@nordlow

nordlow commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

What do you mean by restrict that member? Make it private and accessible behind a const property? Anyhow that's for another PR.

…up members such as `TextDocumentManager.getOrFromFilesystem`
@nordlow

nordlow commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

Ready again.

@nordlow

nordlow commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

Ping.

Comment thread lsp/source/served/lsp/textdocumentmanager.d
@nordlow

nordlow commented Aug 10, 2025

Copy link
Copy Markdown
Contributor Author

Can you please merge, @WebFreak001? As dub test passes locally.

@nordlow

nordlow commented Aug 12, 2025

Copy link
Copy Markdown
Contributor Author

Ping. Approval and merge, please?

@WebFreak001
WebFreak001 merged commit f77c858 into Pure-D:master Aug 13, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants