[KinoSearch] Towards a stable C API... via indirect dispatch

Marvin Humphrey marvin at rectangular.com
Mon Oct 29 12:32:22 PDT 2007




On Oct 29, 2007, at 11:52 AM, Nathan Kurz wrote:

> My preference would be for using whatever is simpler and clearer to
> read, so long as it compiles without warning on our target systems and
> is not unreasonably ineffecient.

Using a explicit struct is definitely clearer than the other  
stratagem, which basically amounts to creating a struct and then  
pretending that it's an array some of the time.

The extra add op is almost certainly insignificant.  Let's just keep  
the vtables as structs.

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list