清理代码并删除不必要的文件? [英] clean code and remove unnecessary files ?

查看:104
本文介绍了清理代码并删除不必要的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们得到了一个已由其他人开发的项目,我们需要对其进行新的更改。现在项目中有一些模块以前使用但现在没有使用。



查询出现如果我们保留代码和文件会以任何方式影响性能的情况。我检查了一些完全没有从应用程序调用的模块,链接是对这些模块的禁用,但不确定所有模块和流程。





与存储过程和数据表相同。此类模块的数据库也未更新。 sp和表(带数据)就像在数据库中一样。如果我们保留该结构将降低数据库性能。

Hi,

we got a project which was already developed by some other and we need to make new changes in that. Now there are some modules in the project which were used previously but not now.

query arise that what if we keep that code and files will it affect the performance in any way. i checked for some of the modules which are not at all call from application and links are disables for such modules but not sure about the all modules and flow.


same thing goes with the stored procedure and data tables. the database is also not updated for such modules. the sp and tables (with data) are as it is in the database. if we keep that structure will it slow database performance.

推荐答案

ASP.NET在应用程序启动时加载bin目录中的所有DLL。编译它们并将它们存储在临时缓存中。因此,即使未使用的(后来的)DDL也会对应用程序的开始时间产生影响,但不会更晚......

数据库是一个不同的动物 - 如果你不使用sp,view或table,而只需要空间......
ASP.NET loads all the DLLs in the bin directory on application start. Compiles them and stores them in a temporary cache. So even unused (later) DDL can have impact on your application's start time, but not later...
Database is a different animal all together - if you do not use an sp, view or table, than it only takes space...


这篇关于清理代码并删除不必要的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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