Page MenuHomeSoftware Heritage

Extract the escape function declaration from the BaseDb.copy_to method
ClosedPublic

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

Details

Summary

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

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.

Thanks!

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.