Marcus Boerger
|
c67d8b2152
|
- Iterator API was changed
|
2006-02-05 23:31:47 +00:00 |
|
Andrei Zmievski
|
589d28e429
|
Implement Traversable instead of Iterator.
|
2006-02-04 00:41:42 +00:00 |
|
Andrei Zmievski
|
fe5aac2f41
|
Add code unit ops.
|
2006-02-04 00:35:37 +00:00 |
|
Andrei Zmievski
|
4a3bf22b81
|
Abstract the iterator interface so that we can add new types.
|
2006-02-04 00:23:52 +00:00 |
|
Andrei Zmievski
|
94e3087be7
|
Gah. In order to avoid memory corruption when using references in
foreach() this code is necessary. But it makes iterator 6x slower. We
should keep thinking about how to optimize it.
|
2006-02-03 23:50:42 +00:00 |
|
Andrei Zmievski
|
aa7ed0788c
|
Guard against assign-by-ref.
|
2006-02-03 21:53:05 +00:00 |
|
Andrei Zmievski
|
682ec6e25e
|
Rewrite to use C-level iterators for performance. Also, cache the string
in the iterator object for immutability.
|
2006-02-03 00:09:19 +00:00 |
|
Sebastian Bergmann
|
f3ddda4229
|
Fix Andrei.
|
2006-02-02 06:01:27 +00:00 |
|
Andrei Zmievski
|
d887f2238b
|
Remove debug message.
|
2006-02-02 00:05:21 +00:00 |
|
Andrei Zmievski
|
2b763aa305
|
Check for intern->text before destroying it.
|
2006-02-01 23:53:53 +00:00 |
|
Andrei Zmievski
|
d4c929764a
|
Proof-of-concept for TextIterator. Much more work to be done here.
|
2006-02-01 23:50:50 +00:00 |
|