Mark,

obviously you ask relating to Bob's IPv4 sort problem.

But when optimising (for speed) the connected formula

(1) a + b * 2^8 + c * 2^16 + d * 2^32

using the constants is slightly faster:

(2) a + b * 256 + c * 65536 + d * 16777216

Why is the engine not handling the internal bitshifts easier with (1)?

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to