ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
freemint has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
brandelune has joined #picolisp
v88m has joined #picolisp
_whitelogger has joined #picolisp
v88m has quit [Ping timeout: 272 seconds]
brandelune has quit [Quit: This computer has gone to sleep]
v88m has joined #picolisp
brandelune has joined #picolisp
brandelune has quit [Ping timeout: 265 seconds]
xkapastel has joined #picolisp
<Regenaxer> tankf33der, you are right! A single-sentence note must be enough. I don't want to maintain two versions of the reference
<Regenaxer> released
<tankf33der> thanks
<Regenaxer> no reason :)
brandelune has joined #picolisp
brandelune has quit [Quit: This computer has gone to sleep]
orivej has joined #picolisp
brandelune has joined #picolisp
brandelune has quit [Quit: This computer has gone to sleep]
brandelune has joined #picolisp
brandelune has quit [Ping timeout: 260 seconds]
brandelune has joined #picolisp
brandelune has quit [Quit: This computer has gone to sleep]
v88m has quit [Ping timeout: 256 seconds]
brandelune has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
patrixl has quit [Quit: Leaving.]
freemint has joined #picolisp
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
<tankf33der> hi all
<tankf33der> Regenaxer: question:
<Regenaxer> Hi tankf33der
<tankf33der> i have infinity size grid. one cell is x, y pair and color.
<tankf33der> i could store list in idx, right? but without hash, is it ok ?
<Regenaxer> yes, idx should be fine. hash is needed if the elements are generated in sequence
<tankf33der> color is 0 or 1.
<tankf33der> so it could be list (123 54 1)
<Regenaxer> or (123 54 . 1) to save one cell
<tankf33der> because i need to search already visited cell and repaint it
<tankf33der> set (cddr L) 0)
<Regenaxer> T
<tankf33der> or T and NIL
<tankf33der> ok
<Regenaxer> (con (cdr L) 0)
<Regenaxer> (con (cdr L) T)
<Regenaxer> And inserts are random?
<tankf33der> one cell in any directins
<tankf33der> north-east-south-north
<tankf33der> +-1 +-1
<Regenaxer> You can try and check with 'depth' after some time
<Regenaxer> Should be about log2(N)
<tankf33der> ok
<tankf33der> and rebalance ?
<Regenaxer> yes, or use hash from the beginning
<tankf33der> it will be 1k-2k items in idx, over 2k-3k loop.
<tankf33der> ok
<tankf33der> how to hash a list ?
<Regenaxer> (hash (123 54))
<tankf33der> it was a part of question
<Regenaxer> ok
<tankf33der> really ?
<Regenaxer> hash takes any
<Regenaxer> but if only a few thousand items, 'balance' gives a perfect result
<tankf33der> lets try. i dont expect collisions.
<tankf33der> but if it happen grid and robot collapse
<Regenaxer> ok
<tankf33der> afk.
<Regenaxer> su
v88m has joined #picolisp
brandelune has quit [Quit: This computer has gone to sleep]
orivej has quit [Ping timeout: 272 seconds]
freemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
mario-go` has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
mario-goulart has joined #picolisp
freemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
freemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
v88m has quit [Ping timeout: 272 seconds]
freemint has joined #picolisp
<Regenaxer> i
freemint has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
tankf33der has quit [Quit: Connection closed for inactivity]
orivej has joined #picolisp
xkapastel has joined #picolisp
freemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]