badkins has quit [Remote host closed the connection]
badkins has joined #racket
ttree has joined #racket
badkins has quit [Ping timeout: 248 seconds]
monkey_ has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
monkey_ has joined #racket
irc_user has joined #racket
<irc_user>
If I use `raco exe hello-world.rkt`, the resulting executable takes a full second to run. Is there a way to optimize further?
monkey_ has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #racket
notzmv has quit [Ping timeout: 248 seconds]
irc_user has quit [Quit: Connection closed for inactivity]
Avichi has joined #racket
<casaca>
with racket/base i get: 0.08s user 0.03s system 99% cpu 0.110 total
<casaca>
without it: 0.24s user 0.05s system 99% cpu 0.293 total
<casaca>
`#lang racket/base
<casaca>
(displayln 'hello) in a file and raco exe file.rkt
<casaca>
ignore the backtick, sorry
notzmv has joined #racket
<casaca>
also very cool: the racket/base file is 1.9MB. and the full racket onet 12MB
kengruven has quit [Quit: Leaving.]
Avichi has quit [Quit: Client closed]
aidalgol has quit [Ping timeout: 256 seconds]
aidalgol has joined #racket
Avichi has joined #racket
Avichi has quit [Quit: Client closed]
mon_aaraj has quit [Ping timeout: 246 seconds]
mon_aaraj has joined #racket
ttree has quit [Ping timeout: 255 seconds]
<bremner>
hmm. a second sounds like a pretty slow machine. Or maybe a pretty slow disk. I also get < 0.3s for #lang racket, on this not-super-fast machine (but with ssd)
mon_aaraj has quit [Ping timeout: 255 seconds]
mon_aaraj has joined #racket
badkins has joined #racket
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #racket
badkins has quit [Remote host closed the connection]
pono has quit [Ping timeout: 248 seconds]
pono has joined #racket
mon_aaraj has quit [Ping timeout: 246 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
jao has joined #racket
rekahsoft has joined #racket
rekahsoft has quit [Remote host closed the connection]
rekahsoft has joined #racket
mon_aaraj has joined #racket
rekahsoft has quit [Ping timeout: 255 seconds]
rekahsoft has joined #racket
badkins has joined #racket
irc_user has joined #racket
xgqt has quit [Ping timeout: 255 seconds]
xgqt has joined #racket
runrin has quit [Ping timeout: 272 seconds]
kengruven has joined #racket
livoreno has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
hhhapz has joined #racket
badkins_ has joined #racket
badkins_ has quit [Remote host closed the connection]
monkey_ has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
badkins has joined #racket
monkey_ has joined #racket
<kengruven>
when i define a struct, can i also define a default way for it to be printed?