I really cannot believe much can be gained simply by implementing a
custom HashMap. I tried this once for my rule engine (i.e. inlining,
some extra methods, stripping away all unnecessary code, etc.) and the
performance gains were marginal. My guess is that you combined the
custom HashMap with other, more important changes in your
data-structures. Am I correct?
Peter Lin schreef:
I was guessing a faster HashTable/HashMap would make a difference, but
even I'm surprised at how much the little things add up.
it makes complete sense, since that where a lot of the cycles are spent
in pattern matching, so those lookup and iterators make the difference.
peter
On 10/21/06, *Mark Proctor* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
http://woolfel.blogspot.com/2006/10/custom-hashtable.html
Mark
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
begin:vcard
fn:Peter Van Weert
n:Van Weert;Peter
org:K.U.Leuven;Computer Science
adr:room 01.08;;Celestijnenlaan 200A;Heverlee;;3001;Belgium
email;internet:[EMAIL PROTECTED]
title:DTAI (Declarative Languages and Artificial Intelligence)
x-mozilla-html:TRUE
url:http://www.cs.kuleuven.be/~petervw/
version:2.1
end:vcard
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email