code-reviews

2019-12-03T14:37:52.039200Z

I would name f something more meaningful. Except this, the function looks right.

2019-12-03T15:33:24.039500Z

I would also rename xf to rf