Skip to content

Avoid unnecesary `force_encoding` operations

Alejandro Rodríguez requested to merge encoding-helper-performance into master

What does this MR do?

Avoind unnecesary force_encoding operations

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

As gitaly#267 (comment 32146023) shows, force_encoding operations can be quite taxing from a performance point of view. Avoiding them when they're not required can saves us time.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #39227 (closed)

Edited by Alejandro Rodríguez

Merge request reports