特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

在asp應(yīng)用過程中改進(jìn)串處理技術(shù)性能[外文翻譯].doc

約6頁(yè)DOC格式手機(jī)打開展開

在asp應(yīng)用過程中改進(jìn)串處理技術(shù)性能[外文翻譯],在asp 應(yīng)用過程中改進(jìn)串處理技術(shù)性能[外文翻譯]包括英文原文和中文翻譯英文:5200字 中文:1500字improving string handling performance in asp applicationsasp designmany asp developers have followed good s...
編號(hào):8-77265大小:44.50K
分類: 論文>外文翻譯

內(nèi)容介紹

此文檔由會(huì)員 8008008 發(fā)布

在ASP 應(yīng)用過程中改進(jìn)串處理技術(shù)性能[外文翻譯]

包括英文原文和中文翻譯

英文:5200字
中文:1500字

Improving String Handling Performance in ASP Applications

ASP Design
Many ASP developers have followed good software engineering principles and modularized their code wherever possible. This design normally takes the form of a number of include files that contain functions modeling particular discrete sections of a page. The string outputs from these functions, usually HTML table code, can then be used in various combinations to build a complete page. Some developers have taken this a stage further and moved these HTML functions into Visual Basic COM components, hoping to benefit from the extra performance that compiled code can offer.
Although this is certainly a good design practice, the method used to build the strings that form these discrete HTML code components can have a large bearing on how well the Web site performs and scales—regardless of whether the actual operation is performed from within an ASP include file or a Visual Basic COM component.
String Concatenation
Consider the following code fragment taken from a function called WriteHTML. The parameter named Data is simply an array of strings containing some data that needs to be formatted into a table structure (data returned from a database, for instance).
Function WriteHTML( Data )......





在ASP 應(yīng)用過程中改進(jìn)串處理技術(shù)性能
ASP 設(shè)計(jì)
很多ASP開發(fā)者已經(jīng)遵循好的軟件設(shè)計(jì)原則并且模塊化他們的代碼。這種設(shè)計(jì)通常采取用某一頁(yè)的部分離散的功能模塊組成新頁(yè)的形式。線性輸出由這些功能實(shí)現(xiàn),通常是HTML代碼表,然后能通過各種各樣結(jié)合形式形成完整的一頁(yè)。一些開發(fā)者已經(jīng)更深入一步研究并且把這些HTML函數(shù)作為Visual Basic COM的組成部分,希望受益于額外的編譯代碼提供的執(zhí)行性能。
雖然這是一個(gè)好的設(shè)計(jì)慣例,通過這種方法建立數(shù)據(jù)流對(duì)網(wǎng)絡(luò)站點(diǎn)執(zhí)行效率有較大影響。不管現(xiàn)實(shí)操作執(zhí)行是從ASP的包含文件還是Visual Basic COM 零部件。
數(shù)據(jù)串串聯(lián)
考慮下列代碼碎片取自WriteHTML函數(shù)。 命名數(shù)據(jù)的參數(shù)僅僅是一個(gè)數(shù)組包含一些需要被格式化成一個(gè)表結(jié)構(gòu)的數(shù)據(jù) ......