freeemint has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
_whitelogger has joined #picolisp
freeemint has joined #picolisp
<
tankf33der>
i need accu but on idx, not assoc.
<
Regenaxer>
Use the value of (char (hash ...))
<
tankf33der>
yea, i thought i know how to do it
<
tankf33der>
when i prepear key with hash i dont know accumulator number
<
tankf33der>
idx search for whole list
<
Regenaxer>
No, it searches for the key
<
Regenaxer>
You can perhaps use 'cache' directly
<
Regenaxer>
It also stores the value in the transient symbol
<
Regenaxer>
The key is a cons pair of the hash symbol and the value (to keep it uniqe even for hash collisions)
<
tankf33der>
but where i should store 0 as count.
<
tankf33der>
like in accu.
<
Regenaxer>
as I said, in the hash
<
Regenaxer>
see what 'cache' does
<
Regenaxer>
basically (set (char (hash ...)) 0)
<
Regenaxer>
in 'cache' it is (set (car K) (run Prg 1))
<
tankf33der>
aaaaaaa
<
Regenaxer>
K is the key, a cons pair of hash transient symbol and some value
<
tankf33der>
in this symbol i can store a lot of information
<
Regenaxer>
That's the trick
<
tankf33der>
issue closed. thanks a lot.
freeemint has quit [Remote host closed the connection]
freemint has joined #picolisp
freeemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
freeemint has quit [Remote host closed the connection]
freeemint has joined #picolisp
stultulo has joined #picolisp
f8l has quit [Ping timeout: 240 seconds]
stultulo is now known as f8l
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
miskatonic has joined #picolisp
orivej has quit [Ping timeout: 250 seconds]
miskatonic has quit [Quit: miskatonic]
freeemint has quit [Remote host closed the connection]
freeemint has joined #picolisp