Re: [tablix-list] Scope for small (5%) speed improvement in Tablix

From: Ida Adyani Hamzah <adyaniREMOVE@THISorenda.com.my>
Date: Wed Jul 28 2004 - 10:27:22 CEST

Hi...

I'm experimenting on tablix. Unfortunately, for my complex data, it tooks about a few days to complete ( even with pvm ). The "small" 5% of speed improvement will surely be a big issue to me. I've changed the

tuple **tuplemap to tuple tuplemap [TUPLEMAX]

and i've changed the

tuplemap[tuplemut]->tid=tid; to tuplemap[tuplemut].tid=tid; as well as all the cid,sid,imut_room and imut_time.

but whats happenning is I got this error when i make :

data.c:194: error: incompatible type for argument 1 of `free'
>> for(c=0;c<tuplenum;c++) free(tuplemap [c]);

data.c:196: error: incompatible type for argument 1 of `free'
>>free(tuplemap [TUPLEMAX]);

data.c:203: error: incompatible types in assignment
>>if (tuplenum==0) tuplemap=malloc(sizeof(*tuplemap)*TUPLEMAX);

data.c:207: error: incompatible types in assignment
>> tuplemap[tuplemut]=malloc(sizeof(tuplemap[TUPLEMAX]));

data.c:227: error: incompatible types in assignment
>>if (tuplenum==0) tuplemap=malloc(sizeof(*tuplemap)*TUPLEMAX);

data.c:229: error: incompatible types in assignment
>>tuplemap[tuplenum]=malloc(sizeof(tuplemap [TUPLEMAX]));

so, could u pls give me some guide or if it is ok, send the src file to me .... ? thank you for your time ...

rgds,
ida
Received on Wed Jul 28 10:47:11 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:42:17 CEST