Re: [racket] speeding up db.plt loading

2012-09-02 Thread prad
Danny Yoo writes: >> >> if i raco my program and run the executable i can get results within 1s, >> but running the program through racket can sometimes take nearly 5s >> before i see the same results. if i don't load db.plt i get responses >> instantly (but of course i have no access to the db).

Re: [racket] speeding up db.plt loading

2012-09-02 Thread Danny Yoo
> > if i raco my program and run the executable i can get results within 1s, > but running the program through racket can sometimes take nearly 5s > before i see the same results. if i don't load db.plt i get responses > instantly (but of course i have no access to the db). Hi Prad, I want to fo

Re: [racket] speeding up db.plt loading

2012-09-02 Thread prad
Neil Van Dyke writes: > If you instead try the following, is that sufficiently fast: > > (require db/base db/sqlite3) > wow! thx neil! -- in friendship, prad Racket Users list: http://lists.racket-lang.org/users

Re: [racket] speeding up db.plt loading

2012-09-02 Thread Neil Van Dyke
A newer version of "db" is now in core Racket, so you don't have to get it from PLaneT. If you instead try the following, is that sufficiently fast: (require db/base db/sqlite3) Neil V. Racket Users list: http://lists.racket-lang.org/users

[racket] speeding up db.plt loading

2012-09-02 Thread prad
ryanc's most useful db.plt is what i've mostly used to access sqlite and postgresql dbs. however, it tends to take a while to load as far as i can tell possibly because it is getting stuff for obdc, mysql and postgresql as well as sqlite3 (which is usually the only one i need). the directory here