HomeSoftware Heritage

Extract the escape function declaration from the BaseDb.copy_to method

Authored by douardda on Jan 29 2019, 4:52 PM.

Description

Extract the escape function declaration from the BaseDb.copy_to method

There is no need for it to be declared there: it does not use any closure
and defining a function in a function is expensive!

Details