CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 16:39:33 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/"c9a1131efef544e151a1da654cbfb4d6"
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=xWGgH4zgpPTQ8irIlxXZOTDdhAPDEs6ysNMl3AnifS4YpjoJRFlAob0%2FADjvXxHCLAb0CT2ai0vcf9356wvQeq9DkVSVSCFeVUToHUL4k7%2F4q2uoz3vFky3Dc%2FUjDnICgVFKvXFgm4XCSel%2Bci4OV0rOXVxaSz47k7QLO8nI8R3RPR8nOrKTjkO8TTDZjmJtH4XkioVpsj8u668oaDWb%2F40KPeALLRbBCkhaXtI%2B%2BYHFi0JfmBw2k7hlLWVO13bgeCh1c72cCiPkAarIVJxRMw%3D%3D--eGaa9D%2FZrPqUFZTY--8mb2%2F1iWqkUMkkCFhJfvPg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1355596059.1753288772; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 16:39:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 16:39:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A30C:B5FA6:EAB15C:1159049:68811044
perf: pre-compile embedded Lua source into bytecode (#16631) · neovim/neovim@4240ce8 · GitHub
Copy file name to clipboardExpand all lines: src/nvim/generators/gen_char_blob.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 4240ce8
authored
perf: pre-compile embedded Lua source into bytecode (#16631)
The Lua modules that make up vim.lua are embedded as raw source files into the
nvim binary. These sources are loaded by the Lua runtime on startuptime. We can
pre-compile these sources into Lua bytecode before embedding them into the
binary, which minimizes the size of the binary and improves startuptime.1 parent 56fa08b commit 4240ce8Copy full SHA for 4240ce8
File tree
Expand file treeCollapse file tree
6 files changed
+136
-79
lines changedFilter options
- src/nvim
- generators
- lua
- test/functional
- lua
- terminal
Expand file treeCollapse file tree
6 files changed
+136
-79
lines changed+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
546 | 564 |
| |
547 | 565 |
| |
548 | 566 |
| |
|
+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
329 |
| - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
330 | 332 |
| |
331 | 333 |
| |
332 | 334 |
| |
| |||
339 | 341 |
| |
340 | 342 |
| |
341 | 343 |
| |
| 344 | + | |
342 | 345 |
| |
343 | 346 |
| |
344 | 347 |
| |
|
src/nvim/generators/gen_char_blob.lua
Copy file name to clipboardExpand all lines: src/nvim/generators/gen_char_blob.lua+36-14Lines changed: 36 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
10 | 24 |
| |
11 | 25 |
| |
12 | 26 |
| |
| |||
23 | 37 |
| |
24 | 38 |
| |
25 | 39 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 | 40 |
| |
30 | 41 |
| |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
31 | 59 |
| |
32 | 60 |
| |
33 | 61 |
| |
| |||
41 | 69 |
| |
42 | 70 |
| |
43 | 71 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
52 | 75 |
| |
53 | 76 |
| |
54 | 77 |
| |
55 |
| - | |
56 |
| - | |
| 78 | + | |
57 | 79 |
| |
58 | 80 |
| |
59 | 81 |
|
+10-10Lines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
407 |
| - | |
| 407 | + | |
408 | 408 |
| |
409 |
| - | |
| 409 | + | |
410 | 410 |
| |
411 | 411 |
| |
412 | 412 |
| |
| |||
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 |
| - | |
| 419 | + | |
420 | 420 |
| |
421 |
| - | |
| 421 | + | |
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
428 |
| - | |
| 428 | + | |
429 | 429 |
| |
430 |
| - | |
| 430 | + | |
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
441 |
| - | |
| 441 | + | |
442 | 442 |
| |
443 |
| - | |
| 443 | + | |
444 | 444 |
| |
445 | 445 |
| |
446 | 446 |
| |
| |||
450 | 450 |
| |
451 | 451 |
| |
452 | 452 |
| |
453 |
| - | |
| 453 | + | |
454 | 454 |
| |
455 |
| - | |
| 455 | + | |
456 | 456 |
| |
457 | 457 |
| |
458 | 458 |
| |
|
You can’t perform that action at this time.
0 commit comments