lexi-lambda changed the topic of #racket to: Racket v7.1 has been released: http://blog.racket-lang.org/2018/10/racket-v7-1.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 268 seconds]
pera_ has joined #racket
joebobjoe has joined #racket
<joebobjoe> should I put a space between #! /usr/bin/env rakcet and #lang racket lines?
ziyourenxiang has joined #racket
<bremner> probably doesn't matter?
<bremner> joebobjoe: is that a question about style, or about working? for that latter, you could just try it.
<joebobjoe> style
<ZombieChicken> I probably would just because the lines aren't exactly related
<ZombieChicken> bu that's just me
<joebobjoe> ok
lockywolf has joined #racket
jao has quit [Ping timeout: 250 seconds]
lockywolf has quit [Ping timeout: 246 seconds]
pera_ has quit [Ping timeout: 252 seconds]
jmiven has quit [Quit: co'o]
jmiven has joined #racket
Diagon has joined #racket
joebobjoe has quit [Ping timeout: 268 seconds]
jao has joined #racket
ubLIX has quit [Quit: ubLIX]
vraid has quit [Ping timeout: 268 seconds]
Diagon has quit [Quit: Leaving]
jao has quit [Ping timeout: 252 seconds]
davidl has quit [Ping timeout: 268 seconds]
davidl has joined #racket
g00s has quit [Quit: Textual IRC Client: www.textualapp.com]
dddddd has quit [Remote host closed the connection]
lockywolf has joined #racket
_whitelogger has joined #racket
evdubs has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 240 seconds]
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 245 seconds]
reverse_light has quit [Ping timeout: 246 seconds]
iyzsong has joined #racket
jackhill has joined #racket
badkins has quit [Remote host closed the connection]
g00s has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 244 seconds]
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 240 seconds]
joebobjoe has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
iyzsong has quit [Ping timeout: 252 seconds]
joebobjoe has quit [Ping timeout: 245 seconds]
joebobjoe has joined #racket
_whitelogger has joined #racket
g00s_ has joined #racket
g00s has quit [Ping timeout: 244 seconds]
g00s_ is now known as g00s
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 252 seconds]
lockywolf_ has quit [Remote host closed the connection]
_whitelogger has joined #racket
joebobjoe has quit [Ping timeout: 268 seconds]
orivej has joined #racket
YuGiOhJCJ has joined #racket
YuGiOhJCJ has quit [Client Quit]
dan_f has joined #racket
fmnt has joined #racket
joebobjoe has joined #racket
g00s has quit [Quit: Textual IRC Client: www.textualapp.com]
joebobjoe has quit [Ping timeout: 268 seconds]
pera has joined #racket
pera has quit [Ping timeout: 250 seconds]
pera has joined #racket
dan_f has quit [Ping timeout: 268 seconds]
fmnt has left #racket [#racket]
mzan has joined #racket
mzan has quit [Read error: Connection reset by peer]
pera has quit [Ping timeout: 252 seconds]
lavaflow has quit [Read error: No route to host]
lavaflow has joined #racket
pera_ has joined #racket
crsc has quit [Quit: leaving]
mzan has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
lavaflow has quit [Read error: No route to host]
lavaflow has joined #racket
davidl has quit [Ping timeout: 252 seconds]
iyzsong has joined #racket
crsc has joined #racket
davidl has joined #racket
ubLIX has joined #racket
YuGiOhJCJ has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 246 seconds]
pera_ has quit [Ping timeout: 244 seconds]
pera has joined #racket
jsomedon has joined #racket
selimcan has joined #racket
selimcan has quit [Ping timeout: 264 seconds]
iyzsong has quit [Ping timeout: 252 seconds]
maximjaffe has joined #racket
jsomedon has quit [Quit: jsomedon]
_whitelogger has joined #racket
pera has quit [Ping timeout: 240 seconds]
joebobjoe has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
joebobjoe has quit [Ping timeout: 268 seconds]
dan_f has joined #racket
dan_f has quit [Client Quit]
dan_f has joined #racket
dddddd has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 252 seconds]
jao has joined #racket
jsomedon has joined #racket
jsomedon has quit [Client Quit]
ziyourenxiang has quit [Ping timeout: 268 seconds]
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 272 seconds]
ng0 has quit [Quit: WeeChat 1.6]
hjek has joined #racket
ng0 has joined #racket
hjek has quit [Quit: Leaving.]
hjek has joined #racket
joebobjoe has joined #racket
ubLIX has joined #racket
joebobjoe has quit [Ping timeout: 268 seconds]
davidl has quit [Ping timeout: 240 seconds]
davidl has joined #racket
hjek has quit [Quit: Leaving.]
wingsorc has joined #racket
pera_ has joined #racket
vraid has joined #racket
vraid has quit [Disconnected by services]
vraid has joined #racket
joebobjoe has joined #racket
dustyweb has quit [Ping timeout: 264 seconds]
wingsorc is now known as emacs_apprentice
zmt00 has joined #racket
emacs_apprentice is now known as wingsorc
pera_ has quit [Ping timeout: 244 seconds]
dustyweb has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
libertyprime has joined #racket
ZombieChicken has joined #racket
pera_ has joined #racket
dmiles has quit [Ping timeout: 246 seconds]
joebobjoe has quit [Ping timeout: 244 seconds]
libertyprime has quit [Ping timeout: 272 seconds]
dmiles has joined #racket
libertyprime has joined #racket
err0ne has joined #racket
ubLIX has quit [Quit: ubLIX]
libertyprime has quit [Ping timeout: 246 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
pera_ has quit [Ping timeout: 240 seconds]
pera has joined #racket
ubLIX has joined #racket
libertyprime has joined #racket
<lavaflow> is there much overhead to boxes?
<lavaflow> I ask because I'm caching some cons cells. some of them need to be ((box ...) . (box ...))
<lavaflow> some of them could just be a single non-boxed number and a box, but for the sake of consistency I'd like to make those ones boxed too even though it's not necessary, just so I can always return a cons of two boxes and not have to worry about the difference
<lavaflow> but if boxes have much overhead then I'll avoid using them needlessly.
<lavaflow> hmm I should probably avoid it I think
<lavaflow> actually not always boxing introduces another conditional check which could actually be serious since this is going to be pretty hot code... screw it I'll just do both and profile it.
friscosam has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 268 seconds]
vraid has quit [Ping timeout: 244 seconds]
<jcowan> lavaflow: You might want to use mcons instead.
keep_learning has joined #racket
<lavaflow> that's what I was doing before. the problem is I have a few million cons cells that collectively refer to a only a few thousand different values. I need to update those values quickly.
<lavaflow> so using cons cells of boxes I can have each of those values only exist once, so I can update it all in a single set
<lavaflow> well, a single set for the cdr's. Plus a few more for the car's which actually have unique values
<lavaflow> basically I'm storing a big pile of probabilities as (numerator . denominator). denominators get updated often but there are only a few thousand unique denominators
pera has quit [Ping timeout: 268 seconds]