> En fait, je crois qu'une autre solution serait mieux dans ce cas-ci. > L'utilisation de méthodes sur les objets permet d'éviter toute > l'ambiguité due à la création d'un objet plus complexes à partir > d'objets simples (qui peuvent utiliser les mêmes structures de données > python pour représenter des objets différents). > > sage: W = Words('ab') > sage: F = W.language_of_full_palindromic_words() > sage: P = W.language_of_palindromes()
This looks really great! But my data structure does not store any words. As you can see, I apply self._domain on a list of python strings. Python strings go faster than words on slicing and concatenation. But with a suffix Trie everything will be nicely resolved... Cheers, Vincent -- 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-de...@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.