[racket] Submodule tests vs separate-file tests

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 17 07:58:43 EDT 2015

Using a submodule does increase the ".zo" file size, but the submodule
portion of the ".zo" file is not loaded when the main module is loaded,
so it's as good as a separate bytecode file.

At Tue, 17 Mar 2015 01:38:25 -0700, Alexis King wrote:
> Is there any preferred convention for location of tests in libraries? Using a 
> test submodule is convenient, but does keeping all the tests in separate files 
> reduce loading costs? Does using submodules bloat the .zo size, or are they 
> compiled separately a la Java inner classes?
> Alexis____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.