<aeth>
similarly (* x) is (* 1 x) and (/ x) is (/ 1 x)
<jackdaniel>
so wow! :>
<jackdaniel>
I know what it means and how to think of it
<jackdaniel>
otherwise I wouldn't be able to point out the inconvenience
emaczen has joined #commonlisp
attila_lendvai has joined #commonlisp
neano has joined #commonlisp
chomwitt has joined #commonlisp
<younder>
,(*)
<ixelp>
(*) => 1
<younder>
,(+)
<ixelp>
(+) => 0
<younder>
see, perfectly consistent
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
<aeth>
right
<aeth>
that's why the 1 and the 0
<aeth>
though yes (- foo x) kind of is an issue because with + you can just add as many (+)s as you want and same with * and (*)s
<younder>
I only ever use binary subtraction and for minus unary or binary. The others have few uses.
<younder>
s/subtraction/division/
kagevf has quit [Ping timeout: 256 seconds]
King_julian has joined #commonlisp
even4void has joined #commonlisp
notzmv has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
emaczen has quit [Ping timeout: 255 seconds]
neano has quit [Remote host closed the connection]
shka has joined #commonlisp
donleo has joined #commonlisp
kagevf has joined #commonlisp
mgl_ has joined #commonlisp
awlygj has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
chomwitt has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
amb007 has joined #commonlisp
doyougnu has quit [Ping timeout: 268 seconds]
doyougnu has joined #commonlisp
uhuh has joined #commonlisp
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Ping timeout: 256 seconds]
danse-nr3 has joined #commonlisp
alcor has quit [Ping timeout: 256 seconds]
_cymew_ has quit [Ping timeout: 268 seconds]
uhuh has quit [Ping timeout: 256 seconds]
uhuh has joined #commonlisp
nybble has quit [Ping timeout: 255 seconds]
son0p has joined #commonlisp
uhuh has quit [Remote host closed the connection]
nybble has joined #commonlisp
random-nick has joined #commonlisp
notzmv has joined #commonlisp
Guest46 has quit [Quit: Client closed]
akoana has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
yitzi has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
King_julian has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
pve has joined #commonlisp
King_julian has joined #commonlisp
X-Scale has joined #commonlisp
danse-nr3 has quit [Ping timeout: 268 seconds]
danse-nr3 has joined #commonlisp
danza has joined #commonlisp
random-nick has joined #commonlisp
rtypo has joined #commonlisp
ym has joined #commonlisp
danse-nr3 has quit [Ping timeout: 252 seconds]
danza has quit [Ping timeout: 268 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
decweb has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
X-Scale has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
amb007 has joined #commonlisp
green_ has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
semarie has quit [Quit: WeeChat 4.2.2]
<Shinmera>
ironically I think I have to type (- 1 x) far more than I can use the misnamed (1- x)
<hayley>
Would integers be funcallable instances (somehow) we could have (closer-mop:set-funcallable-instance-function (lambda (x) (+ -1 x)) -1) and then (-1 x)
semarie has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
admich1 has quit [Ping timeout: 268 seconds]
admich1 has joined #commonlisp
* Shinmera
thinks about horrible reader shenanigans on (
King_julian has quit [Ping timeout: 268 seconds]
_cymew_ has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
pfdietz has joined #commonlisp
admich1 has joined #commonlisp
chomwitt has joined #commonlisp
josrr has joined #commonlisp
X-Scale has quit [Quit: Client closed]
King_julian has joined #commonlisp
lucasta has joined #commonlisp
X-Scale has joined #commonlisp
green_ has joined #commonlisp
edgar-rft_ has joined #commonlisp
edgar-rft has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
pfdietz has quit [Quit: Client closed]
pfdietz has joined #commonlisp
pfdietz has quit [Client Quit]
Noisytoot has joined #commonlisp
King_julian has quit [Ping timeout: 268 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
danse-nr3 has quit [Ping timeout: 252 seconds]
danse-nr3 has joined #commonlisp
X-Scale has joined #commonlisp
pfdietz has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 268 seconds]
icebarf_ has quit [Remote host closed the connection]
icebarf_ has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
pfdietz has quit [Quit: Client closed]
pfdietz has joined #commonlisp
Catie has quit [Ping timeout: 268 seconds]
emaczen has joined #commonlisp
lucasta has quit [Quit: Leaving]
Pixel_Outlaw has joined #commonlisp
zxcvz has joined #commonlisp
pfdietz has quit [Quit: Client closed]
wacki has joined #commonlisp
<yottabyte>
younder: regarding sqlite, trueeee, thank you. I will add the dll to the right place
green_ has quit [Ping timeout: 268 seconds]
pfdietz has joined #commonlisp
awlygj has quit [Remote host closed the connection]
johnjaye has joined #commonlisp
gggg817_ has quit [Quit: Connection closed for inactivity]
amb007 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
<dlowe>
1- strikes me as suspiciously convenient for a compiler writer to not have to optimize (- x 1) forms to decrement instructions
<dlowe>
It's like when you write (ash x 1) instead of (* x 2) and the compiler's like wow, I never would have thought of doing THAT
<dlowe>
(actually I've never seen that in CL but I've seen x << 1 in C *everywhere*)
green_ has joined #commonlisp
mgl_ has quit [Ping timeout: 256 seconds]
tok has joined #commonlisp
<pfdietz>
What the compiler can do can have a great effect on how one writes a program. For example, how expensive do generic function calls turn out to be? A sufficiently smart compiler could encourage their use.
pyooque has joined #commonlisp
puke is now known as Guest4135
pyooque is now known as puke
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
dino_tutter has quit [Quit: Leaving]
<younder>
dlove it is questionable if that actually increases the performance. A lot of these peephole-optimizations get done when the code gets reduced to microcode before going into to the processors compute pipeline
dino_tutter has joined #commonlisp
<younder>
pfdiez When it comes to CLOS optimizations SBCL is a bit behind LispWorks and AllegroCL. Indeed better optimization of generic functions would help
admich1 has quit [Ping timeout: 252 seconds]
admich1 has joined #commonlisp
ezakimak has quit []
ezakimak has joined #commonlisp
dino_tutter has quit [Remote host closed the connection]
prokhor has quit [Ping timeout: 268 seconds]
prokhor has joined #commonlisp
dino_tutter has joined #commonlisp
prokhor has quit [Ping timeout: 264 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
char has joined #commonlisp
bjorkint0sh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
prokhor has joined #commonlisp
alcor has joined #commonlisp
attila_lendvai has joined #commonlisp
Noisytoot has quit [Excess Flood]
Noisytoot has joined #commonlisp
josrr has quit [Remote host closed the connection]
m5zs7k has quit [Ping timeout: 240 seconds]
m5zs7k has joined #commonlisp
danse-nr3 has quit [Ping timeout: 260 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
younder has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
josrr has joined #commonlisp
char has quit [Quit: Connection closed]
younder has joined #commonlisp
green_ has quit [Ping timeout: 264 seconds]
X-Scale has joined #commonlisp
admich1 has quit [Ping timeout: 246 seconds]
admich1 has joined #commonlisp
King_julian has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
pve has quit [Quit: leaving]
Guest17 has joined #commonlisp
mgl_ has joined #commonlisp
mesaoptimizer has quit [Quit: mesaoptimizer]
mesaoptimizer has joined #commonlisp
King_julian has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
ym has quit [Ping timeout: 256 seconds]
Posterdati has quit [Remote host closed the connection]
Posterdati has joined #commonlisp
Posterdati has quit [Client Quit]
edgar-rft_ is now known as edgar-rft
Posterdati has joined #commonlisp
_cymew_ has quit [Ping timeout: 268 seconds]
phadthai has joined #commonlisp
yitzi has quit [Remote host closed the connection]
admich1 has quit [Ping timeout: 240 seconds]
danse-nr3 has quit [Remote host closed the connection]
rtypo has quit [Quit: WeeChat 4.2.2]
green_ has joined #commonlisp
admich1 has joined #commonlisp
attila_lendvai has quit [Ping timeout: 256 seconds]
tok has quit [Remote host closed the connection]
mgl_ has quit [Ping timeout: 255 seconds]
istewart has joined #commonlisp
char has joined #commonlisp
mariari has quit [Ping timeout: 252 seconds]
kevingal has joined #commonlisp
pfdietz has quit [Quit: Client closed]
pfdietz has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mariari has joined #commonlisp
Noisytoot has quit [Remote host closed the connection]
Noisytoot has joined #commonlisp
dino_tutter has quit [Ping timeout: 268 seconds]
shka has quit [Quit: Konversation terminated!]
graven has joined #commonlisp
Guest17 has left #commonlisp [#commonlisp]
alcor has quit [Ping timeout: 256 seconds]
char has quit [Ping timeout: 252 seconds]
robin has quit [Remote host closed the connection]
pfdietz has quit [Quit: Client closed]
donleo has quit [Ping timeout: 268 seconds]
robin has joined #commonlisp
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
Lord_of_Life has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
graven has quit [Ping timeout: 240 seconds]
X-Scale has quit [Quit: Client closed]
X-Scale has joined #commonlisp
Farooq has quit [Read error: Connection reset by peer]
amb007 has quit [Remote host closed the connection]