help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make-hash-table :size


From: Pascal Bourguignon
Subject: Re: make-hash-table :size
Date: 30 Aug 2004 03:25:29 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Oliver Scholz <alkibiades@gmx.de> writes:
> > [...]
> >> I assume that you use some extended CL compatibility package other
> >> than the one that comes with stock Emacs?  If that one overwrites
> >> Emacs' `assoc' (which is implemented in C) with a function implemented
> >> in Lisp, that could explain the profiling differences.

Indeed, I've advised assoc. and call assq or ad-do-it only when
parameters match the usage.

> Hmph. Well, you have to take elp's results with a grain of salt ...
> 
> Function Name      Call Count  Elapsed Time  Average Time
> =================  ==========  ============  ============
> test-cl-assoc      10000       0.16          1.6e-005
> test-alist-access  10000       0.02          2e-006
> test-hash-access   10000       0.01          1e-006
 

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]