anchor.diff:  -module(erl_ip_index_debug).
   
   -export([
  +    test_range_results/1,
       test_range_results/6,
       now_diff_us/1,
       rebuild_bert/4,
       build_full_index/3,
       build_full_lists/2,
  +    benchmark_ips/4,
       benchmark/5
   ]).
  +
  +test_range_results([BertFile, BlacklistFile, OutputFile, Start, End]) ->
  +    test_range_results(BertFile, BlacklistFile, OutputFile, 1000000, list_to_integer(Start), list_to_integer(End)).
   
   test_range_results(BertFile, BlacklistFile, OutputFile, Threshold, Start, End) ->
       Index = build_full_index(BertFile, BlacklistFile, Threshold),
  
positive.code: 
  build_full_index(BertFile, BlacklistFile, Threshold) ->
      Lists = build_full_lists(BertFile, BlacklistFile),
      Timestamp = os:timestamp(),
      Index = erl_ip_index:async_build_index(Lists, Threshold),
      Time = now_diff_us(Timestamp) / 1000000,
      io:format("Index built in ~p seconds~n", [Time]),
      Index.
  
  build_full_lists(BertFile, BlacklistFile) ->
      BlacklistedLists = build_blacklisted_lists(BlacklistFile),
  
negative.code: run_range(Index, Start, End) ->
      run_range(Index, Start, End, []).
  
  run_range(Index, Start, End, Results) when Start < End ->
      Result = erl_ip_index:lookup_subnet_nif(Index, Start, 32),
      run_range(Index, Start+1, End, [Result | Results]);
  run_range(_, _, _, Results) ->
  