可维护性和性能差。 [英] Poor maintainability and performance.

查看:62
本文介绍了可维护性和性能差。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难以维护的代码是否会影响应用程序的性能?



我尝试过的方法:



我试图分析性能维护性差的行为。

Does poorly maintainable code affects the performance of the application?

What I have tried:

I am trying to analyse the behaviour of poor maintainability on performance.

推荐答案

两者之间没有直接的关联。你可以拥有超级高性能的代码,这是一个需要维护的怪物,因为它需要使代码在高水平上运行所需的技术。



你也可以真正拥有代码中的性能是需要维护的。



对立面也是如此。你可以拥有高级别的代码,并且维护简单而美观,你可以拥有优雅的代码并且像垃圾一样执行。
There is no direct correlation between the two. You could have super performant code that is a monster to maintain because of the techniques required to get the code to perform at a high level.

You could also have really crapping performance in code that's a bear to maintain.

The opposites are also true. You could have code that's performs at a high level and is simple and beautiful to maintain and you can have code that's elegant and performs like crap.


Quote:

难以维护的代码会影响应用程序的性能吗?

Does poorly maintainable code affects the performance of the application?



性能和可维护性之间没有联系。

性能取决于您使用的算法和数据结构。

可维护性与您的写作风格相关。


There is no link between performance and maintainability.
Performance depend on the algorithms and data structures you are using.
Maintainability is linked to your writing style.


这篇关于可维护性和性能差。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆