Changes between Initial Version and Version 1 of Ticket #6


Ignore:
Timestamp:
Dec 4, 2006, 7:24:19 AM (18 years ago)
Author:
cinc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6 – Description

    initial v1  
    11nomIsObj() is currently implemented as a macro just checking if pointer!=NULL. This has to be implemented in a correct way by checking if the object contains a valid pointer to a method table (mtab*). There must be some sophisticated data structure to enable checking the mtab* against the known list of mtabs.
    2 A binary tree containing the mtab-pointers won't work because the classes are loaded sequentially so each mtab[n] will be in a memory location > mtab[n-1] so the tree will be degenerated.
     2A binary tree containing the mtab-pointers won't work (without using some more advanced technique like selfbalancing trees) because the classes are loaded sequentially so each mtab[n] will be in a memory location > mtab[n-1] so the tree will be degenerated.
    33Sequentially searching will presumably be slow, because one has to think about several hundred possible mtabs.
    44