Sounds cool.<br><br>On yesterday's nightly (debian squeeze 64), I had to do a `sudo raco setup` to have the help webpage, otherwise I would get a http 404.<br><br>Laurent<br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Nov 24, 2012 at 4:09 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When `raco setup' builds documentation, it now puts cross-reference<br>
keys and dependency information into an SQLite database. So, building<br>
documentation now requires that SQLite is installed (on Unixes; SQLite<br>
is installed by default on Mac OS X, and Racket includes SQLite on<br>
Windows).<br>
<br>
The changes are all under the hood, but you may notice the difference:<br>
<br>
* DrRacket's initial footprint is about 50 MB smaller for a 64-bit<br>
build.<br>
<br>
The savings come from not loading all cross-reference information<br>
into memory. When you ask for documentation on `cons', DrRacket now<br>
consults the database to determine which document might have<br>
information on `cons', and so on.<br>
<br>
Ultimately, cross-reference information must be deserialized from<br>
the same kind of "out.sxref" file as before. A large document like<br>
the Reference can have multiple "out.sxref" files, however, so<br>
DrRacket doesn't have to deserialize all of the Reference's<br>
cross-references to show information `cons'.<br>
<br>
* When you have a simple Scribble document like<br>
<br>
#lang scribble/base<br>
Hello<br>
<br>
and click "Scribble HTML", the result is closer to instantaneous.<br>
<br>
Scribble doesn't have to load (another copy of) all cross-reference<br>
information into memory before rendering the document.<br>
<br>
You get the same improvement when using `raco scribble ++xref-in<br>
setup/xref load-collections-xref'.<br>
<br>
* The document-rendering part of `raco setup' uses a little less<br>
memory and runs a little faster.<br>
<br>
Besides reducing the need to load and re-load cross-reference<br>
information, dependency and global duplicate-definition checking is<br>
now handled by a database query, so it should scale better.<br>
<br>
There will almost certainly be some problems, so keep an eye out for<br>
broken or suspicious `raco setup' or documentation behavior.<br>
<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</blockquote></div><br></div>