From 5d48ab8c28925f892e8e7f432f7d2b78c86e95c5 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 11 Jul 2006 06:13:32 +0000 Subject: Performance improvement hackathon: improve process comparison routines, disable useless code in release builds such as runtime type-checking on dynamic data structures and process fields that are not being computed, faster(?) method for verifying the process owner (still need to ensure correctness), don't destroy and create process objects for hidden kernel threads over and over. Phew. I shouldn't be doing all this today, but I could not resist. --- Hashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Hashtable.h') diff --git a/Hashtable.h b/Hashtable.h index 99e06d1b..a5f2434d 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -47,7 +47,7 @@ inline int Hashtable_size(Hashtable* this); void Hashtable_put(Hashtable* this, int key, void* value); void* Hashtable_remove(Hashtable* this, int key); - +//#include inline void* Hashtable_get(Hashtable* this, int key); void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData); -- cgit v1.2.3