Try to offload tight loop to rust (for now it segfaults)

Created by  quickdudley  on July 4, 2021
6AXPZL5PQMW5P6BPRTGWO3AOWAU5OC33UYBY3TVOHUVQXCRVVTPQC
Change contents