[racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
Running a particular file has been crushingly slow for me, and I finally traced it down (apparently) to the addition of an except-in wrapper around a planet require. Adding the wrapper changes a consistently sub-1-second compile-and run into a big thrashing memory-fest. Is there some kind of

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread Carl Eastlund
I don't know precisely what is going on here, but I know from looking at expanded code that straightforward module requires become straightforward #%requires, while modifications like renaming wind up expanding out each individual binding as a separate #%require. So it seems plausible that

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
On Feb 17, 2011, at 2:12 PM, Carl Eastlund wrote: I don't know precisely what is going on here, but I know from looking at expanded code that straightforward module requires become straightforward #%requires, while modifications like renaming wind up expanding out each individual binding as

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread Carl Eastlund
Have you tried this with non-planet files? I'm curious whether the planet aspect is really a factor here, or just except-in. Carl Eastlund On Thu, Feb 17, 2011 at 5:18 PM, John Clements cleme...@brinckerhoff.org wrote: On Feb 17, 2011, at 2:12 PM, Carl Eastlund wrote: I don't know precisely

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
On Feb 17, 2011, at 2:22 PM, Carl Eastlund wrote: Have you tried this with non-planet files? I'm curious whether the planet aspect is really a factor here, or just except-in. Lightly; this arose because both rackunit and sxml provide 'foldts' (which, honestly, neither one should probably