Paste: my 'contains?'
| Author: | randy7 |
| Mode: | factor |
| Date: | Thu, 2 Apr 2009 17:58:10 |
Plain Text |
: contains? ( longstr str -- ? )
[ length <sliced-clumps> ] keep swap member? ;
| Author: | randy7 |
| Mode: | factor |
| Date: | Thu, 2 Apr 2009 18:06:43 |
Plain Text |
tuck length <clumps> member?
| Author: | randy |
| Mode: | factor |
| Date: | Thu, 2 Apr 2009 18:14:30 |
Plain Text |
hmmm.. I wanted a lazy list of clumps until the first match.
what can I use to get it?
clumps with larger length affect memory which affects performance. but sliced-clumps doesn't work.
| Author: | rand |
| Mode: | factor |
| Date: | Sun, 5 Apr 2009 14:53:27 |
Plain Text |
Ofcourse, use find. not clumps.
New Annotation