aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-01-16 10:50:03 +0100
committerArmin Rigo <arigo@tunes.org>2014-01-16 10:50:03 +0100
commit9828c6cd346fdd94424246b08e9e3cfe72f6ddf0 (patch)
tree37e04de6a9e6905fe90acbf9937c90b8cc93f843 /pypy/doc/project-ideas.rst
parentBacked out changeset 61380dc9c4fb (diff)
downloadpypy-9828c6cd346fdd94424246b08e9e3cfe72f6ddf0.tar.gz
pypy-9828c6cd346fdd94424246b08e9e3cfe72f6ddf0.tar.bz2
pypy-9828c6cd346fdd94424246b08e9e3cfe72f6ddf0.zip
Update 'Optimized Unicode Representation'
Diffstat (limited to 'pypy/doc/project-ideas.rst')
-rw-r--r--pypy/doc/project-ideas.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/pypy/doc/project-ideas.rst b/pypy/doc/project-ideas.rst
index 7f8e381523..141d8f4b57 100644
--- a/pypy/doc/project-ideas.rst
+++ b/pypy/doc/project-ideas.rst
@@ -74,6 +74,10 @@ fits into ASCII, has only two-byte characters or needs four-byte characters.
The actual details would be rather differen in PyPy, but we would like to have
the same optimization implemented.
+Or maybe not. We can also play around with the idea of using a single
+representation: as a byte string in utf-8. (This idea needs some extra logic
+for efficient indexing, like a cache.)
+
.. _`optimized unicode representation`: http://www.python.org/dev/peps/pep-0393/
Translation Toolchain