Re: [sage-combinat-devel] Lazify WeylGroup
Hi Volker! On Sat, Jan 26, 2013 at 10:50:32AM -0800, Volker Braun wrote: >I'm looking into changing matrix groups to libgap and it would be nice if >all groups were lazily imported. You don't want to add libgap startup to >the startuptime for every Sage session. Have you ever tried to clean that >up? Right now WeylGroup is imported all over the place... I agree with the general goal: in the long run, all the root system stuff should be lazy imported. Now, as an intermediate quick step to help libgap's quick integration (looking forward to it! thanks for your work on it!), would it be possible/make sense to instead lazy import gap in WeylGroup and friends? In weyl_group.py, that would be a single line to change. Cheers, Nicolas -- Nicolas M. Thiéry "Isil" http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] Lazify WeylGroup
I've changed my code to import libgap lazily into the new matrix groups precisely to avoid having to change too much combinat code. But it would still be nice to make all the root system stuff lazy, its not like every Sage user is going to depend on it (as nice as it is ;) On Monday, January 28, 2013 12:01:26 PM UTC, Nicolas M. Thiery wrote: > > I agree with the general goal: in the long run, all the root system > stuff should be lazy imported. Now, as an intermediate quick step to > help libgap's quick integration (looking forward to it! thanks for > your work on it!), would it be possible/make sense to instead lazy > import gap in WeylGroup and friends? In weyl_group.py, that would be > a single line to change. > > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] Lazify WeylGroup
On Mon, Jan 28, 2013 at 06:27:20AM -0800, Volker Braun wrote: >I've changed my code to import libgap lazily into the new matrix groups >precisely to avoid having to change too much combinat code. Thanks! Feel free to also change the corresponding import in weyl_group.py. Hui, I can't wait having faster Weyl groups thanks to libgap. Maybe we will be able to delegate iteration to GAP now! >But it would still be nice to make all the root system stuff >lazy, its not like every Sage user is going to depend on it (as >nice as it is ;) They should, they should :-) Kidding apart, I certainly agree. Cheers, Nicolas -- Nicolas M. Thiéry "Isil" http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.