[Mono-dev] Patch for IPAddress.cs
alan.mcgovern at gmail.com
Sat Mar 24 13:25:53 EDT 2007
I'd just like to point out that HostToNetwork() is already covered by NUnit
tests, hence why i didn't include new ones.
On 3/24/07, Alan McGovern <alan.mcgovern at gmail.com> wrote:
> With all the talk of BitConverting recently i took a look at
> IPAddress.HostToNetwork(). I optimised the Swap*** methods to be a little
> My own tests show that the SwapLong method is approximately 35% faster and
> the SwapInt method is approximately 25% faster. No NUnit tests are needed as
> i didn't change any logic, i just removed the use of the temporary
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list