<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Some TeX Developments &#187; performance</title>
	<atom:link href="http://www.texdev.net/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texdev.net</link>
	<description>Coding in the TeX world</description>
	<lastBuildDate>Thu, 26 Aug 2010 17:47:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>siunitx performance (again)</title>
		<link>http://www.texdev.net/2010/01/04/siunitx-performance-again/</link>
		<comments>http://www.texdev.net/2010/01/04/siunitx-performance-again/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 19:48:39 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[siunitx]]></category>
		<category><![CDATA[LaTeX3]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=596</guid>
		<description><![CDATA[My previous post mentioned some efforts to improve the performance of the siunitx parser. I&#8217;ve now committed an entirely new version of the parsing code to the repository. I&#8217;ve also done my best to speed up the rest of the package. The speed you see very much depends on the type of input involved. With [...]]]></description>
			<content:encoded><![CDATA[<p>My previous post mentioned some efforts to improve the performance of the <a title="A comprehensive (SI) units package" href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=siunitx">siunitx</a> parser. I&#8217;ve now committed an entirely new version of the parsing code to the <a href="http://developer.berlios.de/projects/siunitx/">repository</a>. I&#8217;ve also done my best to speed up the rest of the package. The speed you see very much depends on the type of input involved. With my test file, I got a time of roughly 3 minutes using version 1 of siunitx, about 2 minutes before improving version 2, and about 1.5 minutes after. For comparison, doing no processing at all take the time down below 10 seconds for the same file (roughly 700 pages of repeated input). For the interested reader, an <a href="http://www.texdev.net/wp-content/uploads/2010/01/siunitx.tds_.zip">siunitx snapshot</a> TDS-style zip is available.</p>
<p>One thing that I find interesting in all of this is that even before optimising the code, version 2 still worked faster than version 1, even though it does more things. A lot of that is because the pre-built looping material in <a title="Low-level LaTeX3 programming conventions" href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=expl3">expl3</a> does a much better job than my own attempts in version 1 of siunitx. Of course, good programmers will always use fast loops, but for the rest of us I think this shows how a sensible tool-kit can bring benefits “behind the scenes”.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2010/01/04/siunitx-performance-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
