This commit is contained in:
2025-08-11 16:38:10 +02:00
parent f5d668d506
commit 9c2913af18
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@
]
#section[
= Function *out*lining
= Function outlining
A related optimization is "outlining". It's the opposite to inlining.
It moves duplicate code into a function, to reduce code size, and sometimes increase performance (because of instruction caching)

View File

@@ -99,7 +99,7 @@
content
}
#if not is-nano {
#context if (not is-nano) and is-html() {
html-script("
function gotoVariant(variant) {
window.location.href = window.location.href.replace(/\.\w+.html/g, variant);