Page MenuHomeSoftware Heritage

Extract the escape function declaration from the BaseDb.copy_to method

Authored by douardda on Jan 29 2019, 5:41 PM.



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!

Diff Detail

Event Timeline

douardda created this revision.Jan 29 2019, 5:41 PM
ardumont accepted this revision.Jan 30 2019, 10:28 AM
ardumont added a subscriber: ardumont.


This revision is now accepted and ready to land.Jan 30 2019, 10:28 AM
This revision was automatically updated to reflect the committed changes.