<Regenaxer>
So this one monitors only modifications
<Regenaxer>
not file creations
<rob_w>
very nice .. but i guess i can get myself a wrapper .. only need the some simple stuff from it , thx guys
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer has joined #picolisp
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
<aw->
Regenaxer hi, question regarding symbol names
<aw->
the docs say that a simple name is stored in a number of 1-7 bytes
<Regenaxer>
correct
<Regenaxer>
a short number
<aw->
so that mean a longer symbol name will be less efficient?
<Regenaxer>
yes, takes more space
<aw->
symbol name*
<Regenaxer>
and longer to process
<aw->
i see
<aw->
i never considered that
<Regenaxer>
Usually not noticeable I think
orivej has quit [Ping timeout: 240 seconds]
<aw->
i guess not, on a 64-bit machine
orivej has joined #picolisp
<aw->
ok next question: if you were looking to be as efficient as possible, how would you save an array of arbitrary bits or arbitrary length?
<aw->
of arbitrary length
<aw->
ex: 11001010
<aw->
which is 202 decimal
<Regenaxer>
If space ifficient, then a big numbir
<Regenaxer>
eff
<aw->
i see
<aw->
i tried somethingg like that but it crashed
<aw->
segfault when i try to (setq *Myvar reallybigint)
<Regenaxer>
Not enough memory?
<aw->
hmmmmm
<aw->
perhaps
<Regenaxer>
must be very very big ;)
<aw->
i think i did something stupid like (** 2 (** 2 64))
<Regenaxer>
ok, yes
<aw->
so a big number would be better than say.. a list of 8-bit integers?
<aw->
(list 202 234 ...)
<Regenaxer>
yes, smaller
<Regenaxer>
and depends on the manipulations
<Regenaxer>
eg. bit operations
<Regenaxer>
or other arithmetics
<aw->
what do you mean?
<Regenaxer>
'|', '&' etc
<Regenaxer>
'bit?'
<aw->
yes
<aw->
ok thanks
<beneroth>
lists are like linked lists in C, and number are like arrays, in a sense
<beneroth>
hmm.. so Regenaxer one could argue we have indeed arrays :P
<beneroth>
just no array operators
<beneroth>
well no
<beneroth>
the blocks are linked lists
<beneroth>
so its fixed-sized arrays :P
<beneroth>
yeah we shouldn't call this array ^^
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
<Regenaxer>
hehe, yep
<aw->
not so easy to perform bit ops on large numbers
<Regenaxer>
yes, you '>>' shift a lot
<aw->
haha yes
<aw->
a lot
<Regenaxer>
What is your use case?
<aw->
population count
<Regenaxer>
I would use an 'idx' structure perhaps
<aw->
hmmm
<Regenaxer>
As discussed with tankfeeder here several times, store a symbol (e.g. from 'hash') and keep a payload (e.g. a count) in that symbol's value
<Regenaxer>
A very general principle
<Regenaxer>
So the keys are not necessarily numeric
<aw->
ok i'll check the logs
<Regenaxer>
yeah
orivej has quit [Ping timeout: 264 seconds]
Blue_flame has quit [Quit: killed]
rob_w has quit [Quit: Leaving]
Blue_flame has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<Nistur>
mornin'
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]