Keep in mind that WebAssembly is u32 native by default, some operations may be more expensive than you expect them to be.