code: def filter_benchmark(
      external: Iterable[Lib],
      internal: Iterable[Lib],
  ) -> Iterator[Lib]:
      limits = {i.algorithm: i.time for i in internal}
      return filter(lambda x: x.time < limits[x.algorithm], external)
  
file_path: textdistance/textdistance/benchmark.py
imports: from __future__ import annotations
  import json
  import math
  from collections import defaultdict
  from timeit import timeit
  from typing import Iterable, Iterator, NamedTuple
  from tabulate import tabulate
  from .libraries import LIBRARIES_PATH, prototype
label_desc: Use image node_id 4 for calling the Benchmark obj's underlying member method code with example usage: obj.filter_benchmark(external, internal) and returns: filter