DocumentCode :
3157305
Title :
Two-way coloring approaches for method dispatching in object-oriented programming systems
Author :
Huang, Shih-Kun ; Chen, Deng-Jyi
Author_Institution :
Inst. of Comput. Sci. & Inf. Eng., Nat. Chiao Tung Univ., Hsin-Chu, Taiwan
fYear :
1992
fDate :
21-25 Sep 1992
Firstpage :
39
Lastpage :
44
Abstract :
In object-oriented systems, heavy message sending has slowed down the execution efficiency. Most of the current solutions are based on message tables according to a class-hierarchy to develop more efficient method searching algorithms. An approach with little space overhead and constant dispatch time is proposed. The general strategy is called the two-way coloring technique. The algorithm can be applied in both typed and untyped object-oriented languages. For typed languages, the space overhead is not greater than the conventional approaches, but it can dispatch methods in the same situations as untyped languages. For untyped languages, the constraint for dispatch is not decreased and the space overhead is not much higher, but it can dispatch methods in constant time. Based on the comparison with conventional approaches, the proposed approach demonstrates its advantages on space overhead, dispatching speed, and applicability. Several case studies are presented as a comparison with existing run time dispatch mechanisms
Keywords :
inheritance; object-oriented languages; object-oriented programming; execution efficiency; inheritance; message sending; method searching algorithms; object-oriented programming systems; run time dispatch mechanisms; two-way coloring technique; typed object-oriented languages; untyped object-oriented languages; Computer science; Contracts; Councils; Dictionaries; Dispatching; Electronic mail; Object oriented programming; Protocols; Topology;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference, 1992. COMPSAC '92. Proceedings., Sixteenth Annual International
Conference_Location :
Chicago, IL
Print_ISBN :
0-8186-3000-0
Type :
conf
DOI :
10.1109/CMPSAC.1992.217606
Filename :
217606
Link To Document :
بازگشت