Optimize Rust TCP checksum by using raw pointers
Optimize Rust TCP checksum by using raw pointers

Use raw pointers to iterate over the raw array directly, instead of
using indices and calling get_unchecked().

This reduces the checksum computation time by ~4% (the bench takes
~770ms instead of ~800ms on my computer).

Genymobile/gnirehtet,Genymobile/gnirehtet,WPO-Foundation/gnirehtet,WPO-Foundation/gnirehtet,WPO-Foundation/gnirehtet,Genymobile/gnirehtet,WPO-Foundation/gnirehtet