Re: [pro] "fhash"

2011-06-13 Thread Scott L. Burson
On Mon, Jun 13, 2011 at 12:18 PM, Daniel Weinreb wrote: > Here are pros and cons of changing it that I can see. > Pro: I's not a hash table in the small-cardinality case; it's a linear > lookup.  So the name is not actually accurate. Yes it is! It's a hash table with one bucket. But I prefer th

Re: [pro] "fhash"

2011-06-13 Thread Pascal J. Bourguignon
Daniel Weinreb writes: > Friends, > > I wrote a little package for "fash hash tables", which provide an > abstraction that is analogous to that of Common Lisp hash tables, but > is faster for tables with few elements, and only slightly inferior for > tables with many elements. > > I did this beca

Re: [pro] "fhash"

2011-06-13 Thread Gary King
FWIW, I'd call 'em maps. I think that would be more accurate and fit better with the rest of the programming culture in the large (whatever _that_ might be!). -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter

[pro] "fhash"

2011-06-13 Thread Daniel Weinreb
Friends, I wrote a little package for "fash hash tables", which provide an abstraction that is analogous to that of Common Lisp hash tables, but is faster for tables with few elements, and only slightly inferior for tables with many elements. I did this because performance analysis showed that ou

pro@common-lisp.net

2011-06-13 Thread Ken Tilton
On 6/12/2011 10:00 AM, Daniel Weinreb wrote: I, myself, really dislike &aux. It has been so long since I have seen it that I have forgotten that it even exists. We never use it; and I should add that to our style guide. I forgot to mention another reason I like &aux -- nostalgia. It is like

pro@common-lisp.net

2011-06-13 Thread Ken Tilton
On 6/12/2011 10:00 AM, Daniel Weinreb wrote: I, myself, really dislike &aux. It has been so long since I have seen it that I have forgotten that it even exists. We never use it; and I should add that to our style guide. I hate (a) typing a let and (b) giving up a level of indentation if I just

pro@common-lisp.net

2011-06-13 Thread Tamas K Papp
On Sun, 12 Jun 2011 10:00:45 -0400, Daniel Weinreb wrote: > I, myself, really dislike &aux. It has been so long since I have seen > it that I have forgotten that it even exists. We never use it; and I > should add that to our style guide. I was wondering about the use of &aux a while ago, so I

pro@common-lisp.net

2011-06-13 Thread Jean-Philippe Paradis
[ Sorry for double-post Ala'a, I forgot to reply-all :( ] WITH-NESTING reduces the nesting cost of an arbitrary number of consecutive binding forms to one level, with a highly regular and simple syntax almost inherently readable to anyone without prior exposure (I think?). It may not be the most c