<html>#336: Increase timestamp speed
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Erik Schnetter</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>assignee:</td><td>Roland Haas (was anonymous)</td></tr>
<tr><td>responsible:</td><td>[] (was [])</td></tr>
</table></p>
<p>The current time stamp mechanism in simfactory creates files with a scheme "timestamp-NUMBER", where NUMBER denotes the time. Looking for such files requires iterating over the directory.</p>
<p>Instead, we can use a fixed file name, and use the file creation time as time stamp. (We can additionally write the time stamp into the file, probably in a human readable form.) Accessing this time stamp is a single "stat" operation that should be quicker.</p>
<p>This method has the additional advantage that the time stamps always have the same file name.</p>
<p><strong>Keyword:</strong></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/336/increase-timestamp-speed'>https://bitbucket.org/einsteintoolkit/tickets/issues/336/increase-timestamp-speed</a></p>
</html>