<Regenaxer>
Good morning! Hi v_m_v! No worries abut my rant1 :)
<Regenaxer>
Accessing the property list with (: position 1) is much faster than binding and later unbinding a symbol with 'let'
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
<Regenaxer>
In general, what counts in pil is the number of function calls
<Regenaxer>
(let X (: foo) (get X 'bar)) has 4 function calls ('let', ':', 'get' and 'quote') while (: foo bar) is only one
<Regenaxer>
(get X 'bar) is better (; X bar) though
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
rob_w has joined #picolisp
beneroth has quit [Quit: Leaving]
v_m_v has quit [Remote host closed the connection]
yagamisato has quit [Ping timeout: 272 seconds]
yagamisato has joined #picolisp
yagamisato has quit [Changing host]
yagamisato has joined #picolisp
brandelune has joined #picolisp
rob_w has quit [Quit: Leaving]
brandelune has quit [Ping timeout: 265 seconds]
v_m_v has joined #picolisp
<v_m_v>
Regenaxer thx for the explanation. I've to rewrite some code. I don't know why, but I thought accessing would be slower than letting (Position (: position)). My habits from Python
clacke has quit [Remote host closed the connection]
<Regenaxer>
Yeah :)
<Regenaxer>
In C a local var definitely makes sense
<Regenaxer>
But between (: position) and (: position 1) is just one single pointer access
<Regenaxer>
My rule of thumb is that the smaller code (less number of cells to interprete) is better
<Regenaxer>
I often measure the size with (size '(let X ...))
<Regenaxer>
In Vip I have this on a function key
<Regenaxer>
so I just click on an expression
v_m_v has quit [Quit: Client closed]
brandelune has joined #picolisp
v_m_v has joined #picolisp
v_m_v has quit [Ping timeout: 252 seconds]
v_m_v has joined #picolisp
<v_m_v>
Hmm has anyone use llvm-12 with picolisp?
<Regenaxer>
I think most did. I'm on 14 now on Termux and on 13 on Termux
<Regenaxer>
We started with 7 or 8 iirc
<v_m_v>
I've tried to install picolisp on my M1 mac using the Mac instruction but I am getting that error on make: https://pastebin.com/v1XJS7XX
<Regenaxer>
this is from libreadline
<Regenaxer>
It complains about almost everything. Perhaps an include file problem?
<Regenaxer>
Perhaps tankf33der can say more about this?
<v_m_v>
hmm maybe the reason is that I've had all of those required item installed by brew