Re: Sequence slicing
- Posted by "Greg Haberek" <g.haberek at comcast.net> Oct 22, 2003
- 485 views
> while 1 do > a&=data > send(a[1..1500 to 5000 or more]) > a=a[1..length(a)-acknowleged()] > end while are you sure that calling acknowledged() isn't the bottle neck of your code? try asigning it to a variable first, then profile it: atom ack while 1 do a &= data send( a[1..some_length] ) ack = acknowledged() -- does this take forever, a = a[1..length(a)-ack] -- or this? end while