sprhawk / python-on-a-chip

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

Create string.join() #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
p14p maillist subscriber, ax003d, has asked for support of String.join().  
This would help reduce memory consumption when accumulating individual 
strings.

Original issue reported on code.google.com by dwhall...@gmail.com on 1 Apr 2010 at 2:27

GoogleCodeExporter commented 9 years ago
2010/07/03 maillist subscriber, ziglionz, has also requested String.join() as 
well as .match().

Original comment by dwhall...@gmail.com on 4 Jul 2010 at 4:51

GoogleCodeExporter commented 9 years ago
There is no string.match() in Python 2.6; so I'm assuming it's related to some 
regex.  I'm not going to do regex in this issue, just string.join().

Original comment by dwhall...@gmail.com on 16 Sep 2010 at 8:51

GoogleCodeExporter commented 9 years ago
r605
- Added join() func to src/lib/string.py; it's pure python (slower than native 
and wastes memory, but memory will be collected)
- Added system test t284 to exercise string.join

Tests pass
Mainlined directly

Original comment by dwhall...@gmail.com on 16 Sep 2010 at 8:53