lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <>
Subject [lucy-dev] OFFSET globals
Date Thu, 19 Apr 2012 16:12:05 GMT

Attached is a patch that replaces the OFFSET globals with NUM #defines 
which contain the method number. This more than halves the number of 
extern symbols in The only cost is a constant add for every 
method invocation which should be negligible.

This also removes the use of offsetof in parcel.c, so we don't need the 
definition of the VTable struct in that file.



View raw message