View Single Post
  #2 (permalink)  
Old 05-06-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Using strings is more tolerant with respect to changes in the interfaces. It is also easier for debugging. For example, a router wouldn't know how to associate operation indexes with operation names, and therfore couldn't print any meaningful debug information.

The overhead for strings as operation names is rather small. Usually the payload of a request dominates the transmission size, not the operation name. And the lookup is done with a sorted table, so this is not a bottleneck either.
Reply With Quote