Re: Get combinations of digits in a sequence

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu