[Live-devel] Performance
David Betrand
bidibulle at operamail.com
Mon Jun 4 01:18:45 PDT 2007
Hello Marc,
We use liveMedia library in a server-side application and we noticed the same performance issue with DelayQueue class. We tried to optimize it but couldn't get good results. Would you mind if I ask you to share your optimized code ? Ross, I understand your point regarding embedded sysytems but one solution could be to define a compilation flag which determines if STL classes can be used. This would allow using optimized code like what Marc did in DelayQueue, for server-side solutions which require very good performance.
Thanks for your feedback.
David
> > However, I don't want to use the STL, because I don't want to
> > make the "LIVE555 Streaming Media" dependent upon it (because I
> > want this code to continue to be useful for (e.g.) embedded
> > systems that are relatively memory constrained, or which might
> > not have the STL available for other reasons).
> >
> Yeah, that makes sense, too. I certainly wouldn't attempt to write
> the equivalent of the STL class (a Red-Black tree) myself. I agree
> that the current implementation is perfectly fine for most uses.
> Largely, I'm offering a tip to others that may find themselves in
> my situation about where to look for performance.
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
More information about the live-devel
mailing list