On May 14, 10:25 am, Suresh Jeevanandam <[EMAIL PROTECTED]> wrote:
> Hello everybody,
Hi Suresh,
> I am using sage-2.9.1.1 .
> I am using it for symbolic solving of network equations. Every time I
> start the script it takes really huge time to start, spending time in
> import sage.all.*
> from sage.all import *
> Is there any alternative for this, If all I will need is
> var(),solve() and factor() functions.
What operating system are you on? Startup time on OSX takes longer for
example than on Linux on the same hardware due to differences with the
dynamic linker. Sage on an NFS mounted home directory is also usually
much slower than on a local disk.
Regarding your problem: You can uncomment certain default imports from
devel/sage/sage/all.py until your script breaks. But that will likely
break general functionality in Sage, i.e. if you do "other" things
they will likely be broken since Sage depends on imports done in
all.py. So if you break Sage you get to keep the pieces, but it could
potentially help you to cut down the startup time while paying the
price for the loss of general functionality. Just don't complain here
if all the sudden things are broken ;)
> Thanks.
> regards,
> Suresh
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---