Hi Stephen, Your video shows you running this code in DrRacket with debugging enabled. That usually affects performance. Have you made measurements when running this code outside of DrRacket?
- Jon On Tue, Jul 7, 2020 at 2:13 PM Stephen Foster <step...@thoughtstem.com> wrote: > > I'm considering using Racket to remake my 3D game CodeSpells. I'm using http > requests to have Unreal Engine and Racket talk to each other. > > When I use the http/request library, Racket fires off its GET request much > slower than if it were to do a system call to curl. (Same is true if I use > simple-http, which makes me think the problem might be a deep one.) > > Here's a video to demo the issue. Notice how, with curl, the experience is > playable, whereas with the Racket function, there's way too much time between > the spell landing and the effect occurring: > > https://youtu.be/jTqUFVlfBFA > > Obviously, I'd like to do things in a Rackety way. But I'm not above doing > things the silly way. I'd just be grumpy about it. > > Any ideas? > > > > -- > 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 to racket-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/997693d6-b94a-4f69-85cf-aa475c807b20n%40googlegroups.com. -- 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 to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAKfDxxx2%2BrwSw1FiDXvtw9ErNXor-QffeUF21%2BNpsiM%2BZviRNQ%40mail.gmail.com.