CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 11:05:29 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neovim/neovim.git
etag: W/"90a5b2bebbf12acad0a98034ce25e5e5"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=PcMxNplXnSL3nSjhMKMoZTOiuPk5vtwnc1IFK10V%2BLxkudk1QXkVl9Qza254HDOHHvXdq2qPqHVGHUeb83z7YI7LTmhQTnVVr4VL7zUGRRMPygB7ITfCgwPvDC51ERfsyZ2ASZ7V%2ByEvkHvgdaU2To6KbqDDHep07dg46prXrJNZeZwN15CMpe4jDh69PduRZiwpJyiUpEdIlmbgLBPfhVPh24AUvudHrQ%2FXIk635lE2rZpeZsJaYRa%2BR3KjjcVWWqmORxHKA6ZFa70mAROn0A%3D%3D--TgyA8II1JvPoel5j--diblphj8Z8itJY10HQbSTg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1393596962.1753873528; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 11:05:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 11:05:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9CF6:397358:189C2A1:1D54D60:6889FC78
feat(lsp): improve json deserialization performance (#15854) · neovim/neovim@912a6e5 · GitHub
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/rpc.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 912a6e5
authored
feat(lsp): improve json deserialization performance (#15854)
* Add optional second table argument to vim.json.decode which takes
a table 'luanil' which can include the 'object' and/or 'array' keys. These
options use luanil when converting NULL in json objects and arrays
respectively. The default behavior matches the original lua-cjson.
* Remove recursive_convert_NIL function from rpc.lua, use
vim.json.decode with luanil = { object = true } instead. This removes a hotpath
in the json deserialization pipeline by dropping keys with json NULL
values throughout the deserialized table.1 parent f6c0a37 commit 912a6e5Copy full SHA for 912a6e5
File tree
Expand file treeCollapse file tree
2 files changed
+54
-44
lines changedFilter options
- runtime/lua/vim/lsp
- src/cjson
Expand file treeCollapse file tree
2 files changed
+54
-44
lines changedruntime/lua/vim/lsp/rpc.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/rpc.lua+1-37Lines changed: 1 addition & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 | 16 |
| |
47 | 17 |
| |
48 | 18 |
| |
| |||
457 | 427 |
| |
458 | 428 |
| |
459 | 429 |
| |
460 |
| - | |
| 430 | + | |
461 | 431 |
| |
462 | 432 |
| |
463 | 433 |
| |
| |||
466 | 436 |
| |
467 | 437 |
| |
468 | 438 |
| |
469 |
| - | |
470 |
| - | |
471 | 439 |
| |
472 | 440 |
| |
473 | 441 |
| |
| |||
494 | 462 |
| |
495 | 463 |
| |
496 | 464 |
| |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 | 465 |
| |
501 | 466 |
| |
502 | 467 |
| |
| |||
544 | 509 |
| |
545 | 510 |
| |
546 | 511 |
| |
547 |
| - | |
548 | 512 |
| |
549 | 513 |
| |
550 | 514 |
| |
|
+53-7Lines changed: 53 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
173 | 180 |
| |
174 | 181 |
| |
175 | 182 |
| |
176 | 183 |
| |
177 | 184 |
| |
| 185 | + | |
178 | 186 |
| |
179 | 187 |
| |
180 | 188 |
| |
| |||
865 | 873 |
| |
866 | 874 |
| |
867 | 875 |
| |
868 |
| - | |
| 876 | + | |
869 | 877 |
| |
870 | 878 |
| |
871 | 879 |
| |
| |||
1296 | 1304 |
| |
1297 | 1305 |
| |
1298 | 1306 |
| |
1299 |
| - | |
| 1307 | + | |
1300 | 1308 |
| |
1301 | 1309 |
| |
1302 | 1310 |
| |
| |||
1343 | 1351 |
| |
1344 | 1352 |
| |
1345 | 1353 |
| |
1346 |
| - | |
| 1354 | + | |
1347 | 1355 |
| |
1348 | 1356 |
| |
1349 | 1357 |
| |
| |||
1362 | 1370 |
| |
1363 | 1371 |
| |
1364 | 1372 |
| |
1365 |
| - | |
| 1373 | + | |
1366 | 1374 |
| |
1367 | 1375 |
| |
1368 | 1376 |
| |
| |||
1381 | 1389 |
| |
1382 | 1390 |
| |
1383 | 1391 |
| |
1384 |
| - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1385 | 1397 |
| |
1386 | 1398 |
| |
1387 | 1399 |
| |
| |||
1392 | 1404 |
| |
1393 | 1405 |
| |
1394 | 1406 |
| |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1395 | 1410 |
| |
1396 | 1411 |
| |
1397 |
| - | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1398 | 1443 |
| |
1399 | 1444 |
| |
1400 | 1445 |
| |
| 1446 | + | |
1401 | 1447 |
| |
1402 | 1448 |
| |
1403 | 1449 |
| |
| |||
1415 | 1461 |
| |
1416 | 1462 |
| |
1417 | 1463 |
| |
1418 |
| - | |
| 1464 | + | |
1419 | 1465 |
| |
1420 | 1466 |
| |
1421 | 1467 |
| |
|
You can’t perform that action at this time.
0 commit comments