alexshendi has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 244 seconds]
_whitelogger_ has joined #picolisp
_whitelogger has quit [Ping timeout: 250 seconds]
mtsd has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
alexshendi has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
alexshendi has quit [Read error: Connection reset by peer]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
xkapastel has joined #picolisp
libertas has quit [Ping timeout: 245 seconds]
libertas has joined #picolisp
_whitelogger has joined #picolisp
alexshendi has joined #picolisp
libertas has quit [Ping timeout: 246 seconds]
libertas has joined #picolisp
jibanes has quit [Ping timeout: 250 seconds]
jibanes has joined #picolisp
<
tankf33der>
Regenaxer: here ?
<
tankf33der>
5sec question
<
tankf33der>
i have grid
<
tankf33der>
300x300
<
tankf33der>
every cell has a value
<
tankf33der>
i need set every cell with value and then access value by X,Y query
<
tankf33der>
idx, right ?
<
Regenaxer>
perhaps, as 300 is a little too big
<
Regenaxer>
But idx has also some overhead
<
tankf33der>
i will access every cell only several times, not 1k times.
<
Regenaxer>
Perhaps keep some sublists?
<
tankf33der>
assoc ?
<
Regenaxer>
Perhaps to 30 cells
<
Regenaxer>
ie with a second grid or so
<
tankf33der>
and how to query ?
<
Regenaxer>
or 30x30
<
tankf33der>
for example, give me a number for 23,44
<
Regenaxer>
divide and modulus by 10
<
Regenaxer>
I think first don't worry and access with (get ... X Y)
<
tankf33der>
and set by (set (nth G X Y) N) ?
<
Regenaxer>
exactly
<
Regenaxer>
So not via the 'grid' function, right?
<
tankf33der>
not grid.
<
Regenaxer>
list of lists
<
tankf33der>
so no grid and not idx.
<
tankf33der>
issue closed.
<
tankf33der>
thanks.
<
Regenaxer>
300 might be still OK
<
Regenaxer>
'get' is fast
<
tankf33der>
picolisp is fast.
<
Regenaxer>
the primitives, like 'nth' and 'get'
<
Regenaxer>
good night :)
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has joined #picolisp
orivej has quit [Ping timeout: 250 seconds]
alexshendi has quit [Ping timeout: 250 seconds]
orivej has joined #picolisp
grp has joined #picolisp