Marshall Lochbaum <mwlochbaum@...> writes: > > > I figured there would be a word designed for that already... Here's my take on this anyway. > I would append the items to a sequence as the algorithm goes along: > { } swap [ dup 1 > ] [ dup 2 /i [ suffix ] dip ] while suffixaccomplishes the task. > > Marshall
Hi Marshall, Yes, this works but I feel the two tasks are conceptually different and I didn't want to interleave them. I wanted to do all the division as 1 job and then just push the results as the 2nd job. This way the code stays simple and properly factored. Graham ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk