beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
<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
<v_m_v> not by ports
<Regenaxer> So some libs are outdated?
v_m_v has quit [Quit: Client closed]
brandelune has quit [Quit: Leaving]
<tankf33der> v_m_v: macos works.
<Regenaxer> I don't know about brew
<tankf33der> Brew is not issue in general, they just use latest versions of software, should be fine.
<Regenaxer> I see
<tankf33der> I will update brew asap and will try to recompile.
v_m_v has joined #picolisp
v_m_v76 has joined #picolisp
<v_m_v> Sorry, I am back. Any updates about compilling picolisp with brew on mac?
v_m_v76 has quit [Quit: Client closed]
v_m_v has quit [Remote host closed the connection]
calle has joined #picolisp
pfd has quit [Quit: Client closed]
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
v_m_v has joined #picolisp
v_m_v93 has joined #picolisp
v_m_v has quit [Remote host closed the connection]
v_m_v93 has quit [Quit: Client closed]
calle has quit [Ping timeout: 276 seconds]
pfd has joined #picolisp