Merge pull request #2325 from RustPython/coolreader18/string-intern · RustPython/RustPython@64b951e · GitHub
Skip to content

Commit 64b951e

Browse files
authored
Merge pull request #2325 from RustPython/coolreader18/string-intern
Add string interning
2 parents d76cb3b + 9214f41 commit 64b951e

29 files changed

Lines changed: 706 additions & 423 deletions

Lib/test/test_pathlib.py

Lines changed: 0 additions & 2 deletions

Lib/test/test_sys.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ def test_43581(self):
539539
# the test runs under regrtest.
540540
self.assertEqual(sys.__stdout__.encoding, sys.__stderr__.encoding)
541541

542-
@unittest.skip("TODO: RUSTPYTHON; sys.intern() string interning")
543542
def test_intern(self):
544543
global INTERN_NUMRUNS
545544
INTERN_NUMRUNS += 1

bytecode/src/bytecode.rs

Lines changed: 122 additions & 66 deletions

0 commit comments

Comments
 (0)