Wireshark-dev: [Wireshark-dev] Fwd: [Wireshark-commits] rev 51173: /trunk/epan/ /trunk/epan/: p

From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Tue, 06 Aug 2013 23:39:11 +0200
Hi,
Should we use _BitScanForward  on Windows?
http://msdn.microsoft.com/en-us/library/wfd9z0bb%28VS.80%29.aspx

Regards
Anders
-------- Ursprungligt meddelande --------
Ämne: [Wireshark-commits] rev 51173: /trunk/epan/ /trunk/epan/: proto.c
Datum: Tue, 06 Aug 2013 19:53:55 GMT
Från: darkjames@xxxxxxxxxxxxx
Svar till: wireshark-dev@xxxxxxxxxxxxx
Till: wireshark-commits@xxxxxxxxxxxxx


http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51173

User: darkjames
Date: 2013/08/06 12:53 PM

Log:
 Optimize wrs_count_bitshift()
 
 - Use __builtin_ctz for GCC/clang
 - Do multiply and lookup on other platforms

Directory: /trunk/epan/
  Changes    Path          Action
  +10 -5     proto.c       Modified

___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe