public boolean startsWith(Name prefix) {
        int i = 0;
        while (i < prefix.len &&
               i < len &&
               table.names[index + i] == prefix.table.names[prefix.index + i])
            i++;
        return i == prefix.len;
    }