Hi Jeroen, hi Leif,

On 2016-09-09, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
>>> Obviously yes:
>>>
>>> #include <stdio.h>
>>> remove(const char *pathname);
>>
>> For files, unlink().
>
> Depends on what kind of systems you want to support. remove() is C89 
> while unlink() is POSIX.

Doing this and removing some other useless occurrances of "system()"
apparently had a good effect: Before the change, %crun used 6398
samples. After the change, %crun used 4480 samples, which (I suppose)
means that the computation took less time; and do_system doesn't appear
at all.

Thank you very much for your hints!
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to