On Fri, Jan 06, 2012 at 11:43:53PM +0100, Waldek Hebisch wrote:
> Serge D. Mechveliani wrote:
> > 
> > Dear Axiom developers,
> > 
> > I am trying to build a  string  interface between  C  and  Axiom 
> > by 
> >     named pipes  in Linux (Unix)
> > [..]
> > [..]
> > Can you, please, take them from 
> >          http://botik.ru/pub/local/Mechveliani/axiQuest/fifoC.zip
> > 
> > and comment the effect ?
> > 
> 
> You are closing and opening pipes in each iteration.  I did
> not analyse this in detail, but it looks like asking for
> trouble (and certainly is huge performance sink). 
> [..]

I am sorry, I withdraw this  fifoC.zip,  probably will replace it with
the next version.
Because I tried now   read/write   instead of  fgets/fputs.
And this allowed it to move  open/close  out of the loop --
(I do not understand, why).
But the performance has increased only 7 times
(in the example, each line length is less than 10).
I need to look into this further.

Regards, 

------
Sergei
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to