> could BLOCK on locking?! (in multi-threaded code).  Dr. Peter Below (and
> others) gave us code something like 20 years ago to do in ONE assembly
> instruction what the synutil.SwapBytes function is doing by taking the
> scenic route. And does it about 60 TIMES faster (depending on the

Just quick note - one assembler function is very funny, when you need to 
create code what working on many processor family (Intel, Motorola, 
Arm,...) and when same code want to be runned as managed CIL on the .NET 
platform.

You are funny from the totally irelevant performance penalty. But 
proposed sendinteger+sendbufer can cause 200ms delay in TCP 
communication. It is much more then you lost by little piece of 
ineffective code.

It is very easy to make fun of trivia, by which everybody understands. 
But really understand what's happening and why?

--
Lukas Gebauer.

http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
http://geoget.ararat.cz/ - Geocaching solution



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to