Re: Get combinations of digits in a sequence
- Posted by petelomax Aug 17, 2017
- 1522 views
See also the drop-down on http://phix.x10.mx/docs/html/permute.htm
I noted that your routines are not task-safe (and certainly not thread-safe) as some other process could reset combinations to {} under your feet.
It is also not the best design to have to remember to reset combinations before each and every call.
I have also just noticed that my versions lack any way to terminate the scan/build part way through, when something suitable is found..
Regards, Pete