rzel / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Fix string cache #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Issue #223 implemented SLICE_1,2,3 for the default branch.
However, string slices are not put into the string cache.
Nor is the cache checked for the existence of the string when the slice is 
created.

This can be fixed in one of two ways:
1) Fix string cache for slicing in the straightforward manner
2) Re-factor most of strobj.c,h into better functions to make using the string 
cache easier

Original issue reported on code.google.com by dwhall...@gmail.com on 19 Jun 2013 at 3:01