Re: [racket-dev] Expansion size vs. zo file size

2014-11-14 Thread Asumu Takikawa
On 2014-11-11 17:25:37 -0500, Asumu Takikawa wrote:
 I found this unintuitive. Is there anything I can do to get the bytecode
 compiler to help me out here?

FWIW, I also tried looking at the optimizer logs in both cases to see if
there was much difference. Grepping for inlining shows counts of 75
vs. 47 for compiling matrix.rkt (post/pre change and ignoring the
inlining that goes on for modules like '#%util).

So maybe this is just a time/space tradeoff that I can't do much about.

Cheers,
Asumu
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] fix for serve/servlet docs?

2014-11-14 Thread John Clements
The serve/servlet docs state:

The server files are rooted at server-root-path (which is the distribution
root by default.) File paths, in addition to the htdocs directory under
server-root-path may be provided with extra-files-paths. These paths are
checked first, in the order they appear in the list.

It wasn't clear to me what the distribution root meant in this case.  I
eventually would up just searching for not-found.html, and I now
conjecture that distribution root is short for

(collection-path web-server default-web-root)

would it make sense to add this to the docs? Did I miss something?

John
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] fix for serve/servlet docs?

2014-11-14 Thread Jay McCarthy
Currently, the documentation says that the default value is
default-server-root-path but that is not a link to anything. In the
actual code, this is

(define-runtime-path default-web-root default-web-root)

I think the right thing to do is just change what the default argument
says to be

(collection-path web-server default-web-root)

rather than the made-up/unlinked name and then use a different phrase
in the prose.

Do you think this would be good? Would you like to make the change and
I'll just rubber stamp it or shall I?

Jay

On Fri, Nov 14, 2014 at 7:36 PM, John Clements johnbcleme...@gmail.com wrote:
 The serve/servlet docs state:

 The server files are rooted at server-root-path (which is the distribution
 root by default.) File paths, in addition to the htdocs directory under
 server-root-path may be provided with extra-files-paths. These paths are
 checked first, in the order they appear in the list.

 It wasn't clear to me what the distribution root meant in this case.  I
 eventually would up just searching for not-found.html, and I now
 conjecture that distribution root is short for

 (collection-path web-server default-web-root)

 would it make sense to add this to the docs? Did I miss something?

 John




-- 
Jay McCarthy
http://jeapostrophe.github.io

   Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great.
  - DC 64:33
_
  Racket Developers list:
  http://lists.racket-lang.org/dev