Ethereal-dev: Re: [Ethereal-dev] ememification of tvb_get_tring() and friends

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Tue, 02 Aug 2005 20:29:30 +0200

ronnie sahlberg <ronniesahlberg@xxxxxxxxx>, Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 02.08.05 19:47:22:
> 
> Everyone happy with this naming convention   tvb_get_ephemeral_...()
> for the allocations with packet dissection allocation lifetime?
> 
> If not and someone has a better naming convention, it should really
> just be a matter of some sed magic to change it anyway.
> 

Hmmm, as my english vocabulary is quite limited, ephemeral sounds to me like a place somewhere in a Tolkien novel ;-)

But I really can live with it. 

What about transient?

BTW: I had a quick look at the emem.c file. It seems to allocate memory in chunks of 10MB, which might be a bit large. Is there a reason to use such a large chunk? Wouldn't be 1MB enough to prevent countless g_malloc calls? People with small capture files will loose a lot of memory unused ...

Regards, ULFL
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193