sorry, forgot to post the profiling info for the recursive helper function. but generator is still FAR slower... 4095/1 0.050 0.000 0.120 0.120 file.py:135(rek) Johannes