Privacy and Security Notice
Archived Messages for CDEV_1997@cebaf.gov: Re: hash function for server commands
Re: hash function for server commands
Vladimir T. Romanovski (romsky@x4u2.desy.de)
Thu, 08 May 1997 16:03:56 +0200 (MET DST)
>
> >
> > > > Hi.
> > > >
> > > > A while back you recomended using a hash table w/function pointers
> > > > to decide which function a server runs in response to a particular command.
> > > > I am adding that to my server, and before I write one, was wondering if there
> > > > is already something like that in your CDEV server? Or do you just use the
> > > > same hash setup Jie gave me to use to hash the strings themselves. Thanks!
> > > >
> > > > --David
> > >
> > > There's really no special trick to building this thing...
> > >
> > > Bruce and I used the following approach (generally speaking), to
> > >
> >
> > Why STL are not used here?
> >
> > SU,
> > Vladimir
> >
>
> We are not currently using STL because of its heavy dependancy on
> templates... The HPUX (and other platforms) compiler still have a
> long way to go in linking libraries that contain templatized
> classes.
>
> Walt
I try to use the STL for C++ 4.1 on Solaris 2.4 and SunOS. I have addoptive
version of that. I will use it for potring MEDM on C++. I believe the quality
of the STL is well enough to be used.
SU,
Vladimir