Font Size: a A A

Research Of Refactoring Applied To Optimize Program' Memory

Posted on:2006-04-22Degree:MasterType:Thesis
Country:ChinaCandidate:B L LiFull Text:PDF
GTID:2168360152986589Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In the development of programming, the programmers usually seldom notice the programs' memory size. They usually put their energy into designing the programs' architecture and researching on how to develop a project, for example: some kinds of software engineering method being put forward currently. The memory size only is a small part of programmers' patent. In such procedure, the programmers usually take the memory of the sacrifice as the price in order to get the faster development period, more expansive, more vivid software. But in some particular area, the memory limited usually become the biggest problem that restricting programming. First this text discussed the type of the memory limited system, and to the each category type, gave the principle and methods of solving generally, making developers to understand the memory limited system. The next in order, this text elaborated a kind of new software development methods ―― refactoring technology, one of the modification method of the code, elaborated that technical purpose of refactoring: Under the premise of the outside behavior that not change, the procedure adjusted the structure of the software inner part, improved apprehensible of the software, the exaltation function of the software, in act the quality is the adjustment of the design structure to the excellent software. And pointed out the study on the refactoring technique also had limit currently and its greatly applied foreground. Again, this text elaborated the concept of the program by contract and the function of the contracts, studied and discussed the function that the contract also can resolve one of the problem―― behavior constant during the refactoring. And proved that the contract really enabled the behavior constant in heavy process from the theories, explained in detail how to join the contract combined to an example. End, this text researched and puted forward the refactoring method applied to at the memory limited system, and combining the solid example analyzes these skills in a specific way, gave concrete process that was applied refactoring to the memory limited system. Moreover, this text still designed a tool that applied refactoring to the memory limited system, gave the dynamic state structures, the static state diagrams, and the cycle time diagram of the refactoring tool. At the same time, in the end of the article, we still discussed the function of the refactoring applied to the memory limited system used in the particular applied realm, especially in the cellular phone of J2ME, which is one of on the up and has the applied realm of the huge development potential, these heavy refactoring methods will rise the huge function necessarily.
Keywords/Search Tags:refactoring, memory limited, pattern, software engineer, object-oriented, J2ME
PDF Full Text Request
Related items