1 \documentclass{minimal}
5 \output={\setbox60000=\box255\deadcycles=0\relax}
7 \typeout{00> \the\ht\strutbox}
11 %%% \expandafter...\relax
15 socket = socket or {}; socket.gettime = os.socketgettime
21 \loop\ifnum\mycnt<100000\relax
23 \advance\mycnt by1\relax
29 \typeout{01> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}
31 %%% \expandafter...(space)
33 \protected\def\ltj@@unhbox{\ltj@reset@globaldefs\afterassignment\ltj@@unhbox@\ltj@tempcnta}
34 \protected\def\ltj@@unhcopy{\ltj@reset@globaldefs\afterassignment\ltj@@unhcopy@\ltj@tempcnta}
36 \protected\def\ltj@@unhbox@{\ltj@@lua@unboxcheckdir\expandafter\ltj@@orig@unhbox\the\ltj@tempcnta#1}%
38 \def\ltj@@unhcopy@#1{%
39 \protected\def\ltj@@unhcopy@{%
40 \ltj@@lua@uncopycheckdir\expandafter\ltj@@orig@unhcopy\the\ltj@tempcnta#1
41 \ltj@@lua@uncopy@restore@whatsit}%
43 \ltj@@unhbox@{ }\ltj@@unhcopy@{ }
44 \let\unhbox\ltj@@unhbox %% PRIMITIVE
45 \let\unhcopy\ltj@@unhcopy %% PRIMITIVE
52 \loop\ifnum\mycnt<100000\relax
54 \advance\mycnt by1\relax
60 \typeout{02> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}
62 %%% \begingroup...\endgroup
64 \protected\def\ltj@@unhbox{\begingroup\ltj@reset@globaldefs\afterassignment\ltj@@unhbox@\ltj@tempcnta}
65 \protected\def\ltj@@unhbox@{\ltj@@lua@unboxcheckdir\ltj@@orig@unhbox\ltj@tempcnta\endgroup}
66 \protected\def\ltj@@unhcopy{\begingroup\ltj@reset@globaldefs\afterassignment\ltj@@unhcopy@\ltj@tempcnta}
67 \protected\def\ltj@@unhcopy@{%
68 \ltj@@lua@uncopycheckdir\ltj@@orig@unhcopy\ltj@tempcnta
69 \ltj@@lua@uncopy@restore@whatsit\endgroup}%
70 \let\unhbox\ltj@@unhbox %% PRIMITIVE
71 \let\unhcopy\ltj@@unhcopy %% PRIMITIVE
78 \loop\ifnum\mycnt<100000\relax
80 \advance\mycnt by1\relax
86 \typeout{03> \the\ht\strutbox, \directlua{tex.sprint(my_b-my_a)}}