1 \documentclass{minimal}
5 \output={\setbox60000=\box255\deadcycles=0\relax}
7 \typeout{00> \the\ht\strutbox}
11 %%% \expandafter...\relax
14 socket=require'socket'
19 \loop\ifnum\mycnt<100000\relax
21 \advance\mycnt by1\relax
27 \typeout{01> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}
29 %%% \expandafter...(space)
31 \protected\def\ltj@@unhbox{\ltj@reset@globaldefs\afterassignment\ltj@@unhbox@\ltj@tempcnta}
32 \protected\def\ltj@@unhcopy{\ltj@reset@globaldefs\afterassignment\ltj@@unhcopy@\ltj@tempcnta}
34 \protected\def\ltj@@unhbox@{\ltj@@lua@unboxcheckdir\expandafter\ltj@@orig@unhbox\the\ltj@tempcnta#1}%
36 \def\ltj@@unhcopy@#1{%
37 \protected\def\ltj@@unhcopy@{%
38 \ltj@@lua@uncopycheckdir\expandafter\ltj@@orig@unhcopy\the\ltj@tempcnta#1
39 \ltj@@lua@uncopy@restore@whatsit}%
41 \ltj@@unhbox@{ }\ltj@@unhcopy@{ }
42 \let\unhbox\ltj@@unhbox %% PRIMITIVE
43 \let\unhcopy\ltj@@unhcopy %% PRIMITIVE
50 \loop\ifnum\mycnt<100000\relax
52 \advance\mycnt by1\relax
58 \typeout{02> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}
60 %%% \begingroup...\endgroup
62 \protected\def\ltj@@unhbox{\begingroup\ltj@reset@globaldefs\afterassignment\ltj@@unhbox@\ltj@tempcnta}
63 \protected\def\ltj@@unhbox@{\ltj@@lua@unboxcheckdir\ltj@@orig@unhbox\ltj@tempcnta\endgroup}
64 \protected\def\ltj@@unhcopy{\begingroup\ltj@reset@globaldefs\afterassignment\ltj@@unhcopy@\ltj@tempcnta}
65 \protected\def\ltj@@unhcopy@{%
66 \ltj@@lua@uncopycheckdir\ltj@@orig@unhcopy\ltj@tempcnta
67 \ltj@@lua@uncopy@restore@whatsit\endgroup}%
68 \let\unhbox\ltj@@unhbox %% PRIMITIVE
69 \let\unhcopy\ltj@@unhcopy %% PRIMITIVE
76 \loop\ifnum\mycnt<100000\relax
78 \advance\mycnt by1\relax
84 \typeout{03> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}