I've been digging down to really understand the symbol implementation in
Picolisp, since symbols are used for so many purposes within the language.
One surprising thing I learned last night is that (get ...) has a side
effect! It moves the key that was accessed to the head of the symbol
"tail"
Gudo Stepken:
> [...]
""Talk is cheap, show me the code."" -- Linus Torvald
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Wilhelm,
> that (get ...) has a side effect! It moves the
> key that was accessed to the head of the
> symbol "tail". I assume this is a performance
> optimization to cause recently accessed
> properties to "bubble up" to the front of the
> list in case they are re-accessed soon.
Yes, exactly.
The "move-to-front" heuristic is equivalent to the LRU caching policy.
The "move-up-by-one" heuristic converges to LFU (least frequently used) caching
policy.
Perhaps LFU is what you really want?
BTW, "move-up-by-one" has a side-effect on every invocation, as does
"move-to-front".
However, you
Seems, you haven't the slightest idea, what's going on in world:
China is changing gears, decoupling from TCP/IP protocol. Means: USA
becoming isolated. It's a 320 million people state, making just 5% of
global population.
https://cntechpost.com/2020/03/30/huawei-aims-to-reshape-internet-with-pro
Thanks for the insights, Alex!
On 4/27/20 1:53 PM, Alexander Burger wrote:
This means, a pointer to a cell points direcly to its CAR, while a pointer to a
symbol points to its VAL. In both cases (car ...) or (val ...) are just a single
pointer derefernces (memory fetches).
Ah, so car and val are
In most Lisp languages, you only can "append" to a list, never "prepend".
Python, e.g., has such structures:
https://www.geeksforgeeks.org/deque-in-python/
The "*d*ouble *e*nded *queue*". Appending, prepending, Python simply lets
you do, what you want! ;-)
Mighty, mighty stuff, highly efficient!
On 4/27/20 2:42 PM, Guido Stepken wrote:
In most Lisp languages, you only can "append" to a list, never "prepend".:
"Prepend", aka "add to the beginning" seems the natural (and
non-destructive) operation of Lisp, e.g.
(cons 9 (1 2 3)) -> (9 1 2 3)
..perhaps that is what you meant?
-wilhel
China is changing gears, decoupling from TCP/IP protocol. Means: USA
becoming isolated. It's a 320 million people state, making just 5% of
global population.
https://cntechpost.com/2020/03/30/huawei-aims-to-reshape-internet-with-protocol-called-new-ip/
China certainly has long wanted to iso
On Mon, Apr 27, 2020 at 02:38:35PM -0700, Wilhelm Fitzpatrick wrote:
> > Correct. The first character(s) need to be accessed more prominently.
> >
> Hmm... because checking the first
> byte/character is just a mask, rather than
> shift & mask?
Yes, but most of all it concerns the first up to 8 ch
Hi Tomas,
> > Would it make sense to plan an online conference instead? We are playing
> > around
> > with Jitsi Meet currently. Any thoughts?
>
> I tried Jitsi and it seems broken on NixOS (throwing some Java exception
> about a DNS class not found).
We used Jitsi a lot during the last weeks.
Dear List,
My experience using Jitsi with Firefox wasn't good. I tried to attend an online
meeting with FF 71 and I managed to crash the server. Apparently this is
Firefox's fault though for not supporting all necessary features of WebRTC.
Unfortunately for me there is no alternative ATM. NetBS
On Tue, Apr 28, 2020 at 7:44 AM Alexander Burger wrote:
> We used Jitsi a lot during the last weeks. I have tried up to only 5 members
> so
> far, but performance was good. Beneroth has set up his own server. I don't
> know
> how well it scales for more members, and what can be done to optimize
> On Apr 28, 2020, at 15:20, Alexander Shendi (Web.DE)
> wrote:
>
> Dear List,
>
> My experience using Jitsi with Firefox wasn't good. I tried to attend an
> online meeting with FF 71 and I managed to crash the server. Apparently this
> is Firefox's fault though for not supporting all nece
> On Apr 28, 2020, at 15:26, Christophe Gragnic
> wrote:
>
> 2) We could organize a «warm up» as it is done in music festivals
Definitely. Maybe the day before ? A short rehearsal for all the people who
have presentations to see if things work well ?
Jean-Christophe Helary
---
15 matches
Mail list logo