Fix typo in source/texk/web2c/luatexdir/tex/texnodes.c
diff --git a/source/texk/web2c/luatexdir/tex/texnodes.c b/source/texk/web2c/luatexdir/tex/texnodes.c index 6e0ae1ff8..72f6716dd 100644 --- a/source/texk/web2c/luatexdir/tex/texnodes.c +++ b/source/texk/web2c/luatexdir/tex/texnodes.c @@ -1203,7 +1203,7 @@ void l_set_whatsit_data(void) { the original one as a metatable. After some experiments (that also included timing) with these scenarios I decided that a deep copy made no sense, nor did nilling. In the end both the shallow copy and the metatable variant were - both ok, although the second ons is slower. The most important aspect to keep + both ok, although the second one is slower. The most important aspect to keep in mind is that references to other nodes in properties no longer can be valid for that copy. We could use two tables (one unique and one shared) or metatables but that only complicates matters.
On Thu, 13 Apr 2023 at 18:04, Josef Friedrich
diff --git a/source/texk/web2c/luatexdir/tex/texnodes.c b/source/texk/web2c/luatexdir/tex/texnodes.c index 6e0ae1ff8..72f6716dd 100644 --- a/source/texk/web2c/luatexdir/tex/texnodes.c +++ b/source/texk/web2c/luatexdir/tex/texnodes.c @@ -1203,7 +1203,7 @@ void l_set_whatsit_data(void) { the original one as a metatable. After some experiments (that also included timing) with these scenarios I decided that a deep copy made no sense, nor did nilling. In the end both the shallow copy and the metatable variant were - both ok, although the second ons is slower. The most important aspect to keep + both ok, although the second one is slower. The most important aspect to keep in mind is that references to other nodes in properties no longer can be valid for that copy. We could use two tables (one unique and one shared) or metatables but that only complicates matters.
Pushed 301a7a2b7 Fixed several typos (J. Friedrich). -- luigi
participants (2)
-
Josef Friedrich
-
luigi scarso