Remix.run Logo
▲ pcwalton 40 minutes ago

You can shift an integer 1 bit to the left by adding it to itself. This should be faster than multiplying by 2 on ancient CPUs.