ok, I kinda see. So, I have another question: Is the 'pico tree namespace built the same way as any namespace of any 'loaded file? like, (load '@lib/simul.l) populates the 'simul symbol with the names defined inside the '@lib/simul.l file. Is the process for creating the 'simul namespace the same as creating the 'pico namespace?
And how is the namespace of a loaded file created? On Fri, Apr 16, 2021 at 2:01 PM Alexander Burger <a...@software-lab.de> wrote: > Hi polifemo, > > > I've realized that the 'pico namespace is a tree, but I can't figure out > > which kind of tree. It does not seem fit with a binary tree structure. > > > > So, what's the structure of namespaces, and what's the algorithm for > > organizing the symbols inside a namespace list? > > You are very close :) > > In fact, it is a cons-pair of *two* binary trees: One for symbols with > names of > 7 or less bytes (so that the name is a short number), and one for symbols > with > longer names (name is a bignum). > > ☺/ A!ex > > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >