osip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [osip-dev] question about osip_transaction


From: Aymeric Moizard
Subject: Re: [osip-dev] question about osip_transaction
Date: Wed, 19 Dec 2012 23:25:07 +0100

Hi,

The only reason I did it without pointer was for simplicity. May be it was just a bad idea but that's the way it is now...

Do you reach any new limitations on your is with this change?

Regards,
Aymeric

Le 19 déc. 2012 22:17, "Dalei Liu" <address@hidden> a écrit :
Hi,

I have a quick question about the struct osip_transaction defined in osip.h.  When I checked the source code, I found it's holding an element osip_srv_record_t record which is about 11KB.  I'm just wondering why it is an instance instead of a pointer just like all the other structures inside the osip_transaction, because for me it looks like wasting memory for each transaction if the field is not in use.  All the other elements of the osip_transaction in total is just about over 100 bytes.  Is there any other concern about the design?

Thanks,
Dalei Liu

_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]