#19620: fast (lazy) infinite words
-----------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.10
Component: PLEASE CHANGE | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies: #19619
Stopgaps: |
-----------------------------+-------------------------------------
In order to have fast infinite words, we implement a new class
`WordDatatype_char_infinite` that uses an `unsigned char *` as data. It
lazily updates this cache on demand. The previous `WordDatatype_char` is
renamed `WordDatatype_char_finite`.
As a prerequisite, we need to add one indirection level for finite words
(i.e. use an `unsigned char **` instead of an `unsigned char *`) as the
data pointed by an infinite word might be reallocated.
In order to have fast slices (i.e. with shared memory), we first need a
cleanup in `words.py` (see #19619).
--
Ticket URL: <http://trac.sagemath.org/ticket/19620>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.