Can you explain why you are not sure? Under what circumstances do you think
the current 'single style behavior is useful?
We can add 'single-no-return (though I dislike it because 'single means no
return already!) and change existing places that use 'single. However,
without switching the default
Hi Stephen,
I ran this small benchmark against a remote web server, and was
definitely getting better response using the http-easy module.
https://gist.github.com/samdphillips/32763ebd0d938678c2972b1dd8ee5778
$ racket -e '(require (submod "http-perf.rkt" curl))'
cpu time: 768 real time: 35299 gc
I ran a few tests where I fetch the google homepage via curl,
get-impure-port, and get-impure-port*. Curl does, in fact, seem to be
faster, but not nearly so much so to account for the delays in that
video. So, one thing to check is if the racket code gets slower
results when requesting arbitrary u
Finally circling back to this issue. I've disabled debugging in DrRacket
and also done a test outside of DrRacket. It's still slow. :(
I also tried the newer HTTP client:
https://docs.racket-lang.org/http-easy/index.html. Like the others, it is
also slow.
I'll do some more digging. I'm curren
Hi all,
Racket News Issue 38 is here!
https://racket-news.com/2020/09/racket-news-issue-38.html
Enjoy!
Paulo Matos
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
On Mon, 14 Sep 2020 at 14:18, Hendrik Boom wrote:
> I would, ideally, only use hashcons on those cons-cells which had
> themselves
> been hashconsed, so eq? would suffice.
>
The challenge is checking to see whether a new allocation is required.
Checking `eq?` of the cdr suffices, but seldom is `
On Mon, Sep 14, 2020 at 01:11:34AM -0700, Tony Garnock-Jones wrote:
> On Sunday, September 13, 2020 at 12:41:15 AM UTC+2 hen...@topoi.pooq.com
> wrote:
>
> > True, but that would require rewriting list, and quasiquote, ans
> > others like that to use the hashcons.
> >
> > Not impossible.
> >
>
At Mon, 14 Sep 2020 00:34:08 -0500, Nate Griswold wrote:
> If i understand correctly, in racket cs embedded if i am not currently
> running anything in the main racket thread then gc cannot happen. But the
> next time i make a call into racket on that reserved racket thread (which
> has not been sh
On Sunday, September 13, 2020 at 12:41:15 AM UTC+2 hen...@topoi.pooq.com
wrote:
> True, but that would require rewriting list, and quasiquote, ans
> others like that to use the hashcons.
>
> Not impossible.
>
One potentially useful trick is to write a function `canonicalize` which
deeply tra
9 matches
Mail list logo