|
Posted by sonet on October 26, 2005, 10:12 am
Please log in for more thread options
> Why are you creating the shared memory object in a loop?
Just for testing.
> Also, the key is supposed to be an integer or a 4 character string, not
> a file name.
I know . but it will erase the character that the length >4.
> Finally, why are using shared memory when you don't seem to be sharing any
> memory?
Ok. I put some static html or conf to sharememory.
....
>
>
> Subject is: Re: The IPC::ShareLite is very slow than fetch data from file
> ??
>
> Yes, and my yugo gets bad gas mileage when I'm dragging a piano around
> behind it. What's your point?
>
> ....
> > #!/usr/local/bin/perl
> >
> > use IPC::ShareLite;
> > for ($i=0;$i<=1000;$i++){
> > $share = new IPC::ShareLite( -key =>'test.conf',
> > -destroy => 'no' ) or die $!;
>
> Why are you creating the shared memory object in a loop?
>
> Also, the key is supposed to be an integer or a 4 character string, not
> a file name.
>
> Finally, why are using shared memory when you don't seem to be sharing any
> memory?
>
> Xho
>
> --
> -------------------- http://NewsReader.Com/ --------------------
> Usenet Newsgroup Service $9.95/Month 30GB
|