4 ms·
Refactoring means retaining the exact behavior, by definition. Of course, many refactorings will make it easier to apply performance optimizations later.
by hvis 7y ago
Refactoring means retaining the exact behavior, by definition.
Of course, many refactorings will make it easier to apply performance optimizations later.
- hvidgaard 7y agoThat makes no sense. If you must retain exact behavior, you must compile to the same assembly instructions. Generally refactoring worries only about the functionality that you test in unit tests and integration tests, not counting performance.