Re: LOAD extremely slow
JP Massar <[email protected]>
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
At 07:57 PM 2/21/03 +0100, Edi Weitz wrote: > > Did you try compiling the file to produce a .fasl and then loading it? > >Just tried it: Compiling the file is even slower - more than 200 >seconds. Loading the compiled file afterwards kills Corman Lisp... :( Yeah, some .fasl's have that annoying property. I was hoping yours might not... :-) This might be a good test file for Roger to nail the problem of why .fasl's don't always work. > > If you changed the format of the file so that all your data was stored > > in one big quoted list and then you had a small function which mapcar'ed > > over that data list it would probably load much faster > > because the quoted list would only be READ, it would not be subject > > to compilation analysis. > > > > (Again, this may not be suitable for your purposes, whatever they are) > >Yes, that would be a possibility. Actually, it isn't really a problem at >the moment as this is just (a slightly modified form of) the test suite >for my CL-PPCRE program. > >However, I was a little bit alarmed when I saw this because sometime in >the future I might be in a situation where I really need something like >this. I wouldn't be too alarmed. There are usually easy-to-implement workarounds for problems like this. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/