[omniORB] Demux strategy

Duncan Grisby dgrisby@uk.research.att.com
Mon, 26 Jul 1999 09:55:07 +0100


On Saturday 24 July, youzhong liu wrote:

> I am trying to find out the Demultiplexing strategy (linear search,
> hashing or some others) used by omniORB. Could anyone help me?

omniORB finds the object it needs through a hash table. Once it has
found it, it dispatches the right operation by a linear search of the
operation names. That turns out to be faster than obvious hashing
schemes for interfaces with up to 100 operations, but we're thinking
about other possibilities.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --