def delete(self, key):
        try:
            if key in self.responses:
                response, _ = self.responses[key]
                del self.responses[key]
            else:
                response, _ = self.responses[self.keys_map[key]]
                del self.keys_map[key]
            for r in response.history:
                del self.keys_map[self.create_key(r.request)]
        except KeyError:
            pass
Maximum string borders by Knuth-Morris-Pratt
dataset/ETHPy150Open reclosedev/requests-cache/requests_cache/backends/base.py/BaseCache.delete--crossover with--dataset/ETHPy150Open jilljenn/tryalgo/tryalgo/knuth_morris_pratt_border.py/maximum_border_length