Optimize the is_sequential/N method.
Optimize the is_sequential/N method.

AZ847

wwezhuimeng/riak_search,xuejianhai/riak_search,basho/riak_search,wwezhuimeng/riak_search,xuejianhai/riak_search,basho/riak_search