kevin brintnall wrote:
> On Wed, Oct 15, 2008 at 05:44:14PM +0100, [EMAIL PROTECTED] wrote:
>   
>>> I think a better approach would be to determine the length of 
>>> the file in advance and just create/mmap it once.  I already 
>>> wrote the code that determines the size of the data portion 
>>> (it's in rrd_open):
>>>
>>>       
>> You are right, but I didn't want to be so strict with my implementation.
>>
>> It may be better to just use normal writes when a new file is created -
>> would you have any problem with that?
>>     
>
> How would it differ from the original implementation?
>   
The writes would be done within rrd_write, instead of directly from 
rrd_create.c

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to