Ruby C extension for Array#consecutive.