NAME
Net::BART::XS - XS/C implementation of Balanced Routing Tables
SYNOPSIS
use Net::BART::XS;
my $table = Net::BART::XS->new;
$table->insert("10.0.0.0/8", "private");
$table->insert("10.1.0.0/16", "office");
my ($val, $ok) = $table->lookup("10.1.2.3");
# $val = "office", $ok = 1
my $found = $table->contains("10.1.2.3"); # 1
my ($val, $ok) = $table->get("10.0.0.0/8");
my ($old, $ok) = $table->delete("10.1.0.0/16");
DESCRIPTION
Drop-in replacement for Net::BART implemented in C via XS for maximum performance. Same API, typically 10-20x faster.