29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

luastate_bytes<br />

min:37009927, max:87755930, pages:2000<br />

<strong>The</strong> maximum memory footprint is somewhat misleading because Lua reserves more<br />

than needed. As discussed in an earlier chapter, it is possible to tweak to control memory<br />

management somewhat, but eventually we decided that it does not make much sense<br />

to divert from the default settings.<br />

\usemodule[timing] \starttext \dorecurse{2000}{<br />

\input tufte \par \input tufte \par \input tufte \par<br />

} \stoptext<br />

luastate_bytes<br />

min:36884954, max:86480013, pages:1385<br />

<strong>The</strong> last example <strong>of</strong> this set does not load les, but stores the text in a macro. This is faster,<br />

although not that mich because the operating system caches the le and there is not utf<br />

collapsing needed for this le.<br />

\usemodule[timing] \starttext \dorecurse{2000}{<br />

\tufte \par \tufte \par \tufte \par<br />

} \stoptext<br />

luastate_bytes<br />

min:36876892, max:86359763, pages:1385<br />

152 Collecting garbage

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!