Re: Hashtable

2019-03-13 Thread Alexander Burger
On Wed, Mar 13, 2019 at 09:40:34AM -0700, C K Kashyap wrote: > Oh ... it just occurred to me that you probably meant this - > https://software-lab.de/doc/tut.html#db ? Yes, exactly!! I just noticed that I pasted "#ext" twice instead of the above one :) ☺/ A!ex -- UNSUBSCRIBE:

Re: Hashtable

2019-03-13 Thread C K Kashyap
Oh ... it just occurred to me that you probably meant this - https://software-lab.de/doc/tut.html#db ? On Wed, Mar 13, 2019 at 9:12 AM C K Kashyap wrote: > Hi Alex, > I was looking up hashtable in picolisp and ran into this thread - >

Re: Hashtable

2019-03-13 Thread C K Kashyap
Thanks Alex, Just to I get the reasoning right - so for small and medium volume, a list and binary tree would suffice and for larger data volume a DB is recommended. And perhaps combined with DB on a ramdrive, it could very well substitute for anything traditionally thought of as hashtable

Re: Hashtable

2019-03-13 Thread C K Kashyap
Got it! Regards, Kashyap On Wed, Mar 13, 2019 at 10:16 AM Alexander Burger wrote: > On Wed, Mar 13, 2019 at 09:56:25AM -0700, C K Kashyap wrote: > > Just to I get the reasoning right - so for small and medium volume, a > list > > and binary tree would suffice and for larger data volume a DB is

Hashtable

2019-03-13 Thread C K Kashyap
Hi Alex, I was looking up hashtable in picolisp and ran into this thread - https://www.mail-archive.com/picolisp@software-lab.de/msg00140.html In it, you've mentioned "build some database structure." Is there a simple sample for reference for such a structure? Regards, Kashyap

Re: Hashtable

2019-03-13 Thread Alexander Burger
Hi Kashyap, > I was looking up hashtable in picolisp and ran into this thread - > https://www.mail-archive.com/picolisp@software-lab.de/msg00140.html > > In it, you've mentioned "build some database structure." Is there a simple > sample for reference for such a structure? The best is perhaps

Re: Hashtable

2019-03-13 Thread Alexander Burger
On Wed, Mar 13, 2019 at 09:56:25AM -0700, C K Kashyap wrote: > Just to I get the reasoning right - so for small and medium volume, a list > and binary tree would suffice and for larger data volume a DB is > recommended. I would go with an 'idx' binary tree, unless it - is bigger than

Re: Hashtable

2019-03-13 Thread rick
Hello Kashyap, While not particularly idiomatic, there is some application code here that uses idx, hash and friends which may be of some help, by way of example. Not recommending this for your use, just “yet another example”. :) https://github.com/cryptorick/pil-KVMap/blob/master/KVMap.l

Re: A good way to write an api server

2019-03-13 Thread C K Kashyap
Hi, I cant seem to get httpGate to run correctly. I tried running it as follows - First run the app on port 8080 - /pil dbapp.l -main -go -wait & Then run httpGate like this - /bin/httpGate 3000 8080 When I try to connect to port 3000 - I get "empty response" root@6b36fb429264:~/picoLisp#

Re: Hashtable

2019-03-13 Thread C K Kashyap
Thanks Rick, Regards, Kashyap On Wed, Mar 13, 2019 at 1:04 PM wrote: > Hello Kashyap, > > While not particularly idiomatic, there is some application code here that > uses idx, hash and friends which may be of some help, by way of example. > Not recommending this for your use, just “yet another