http://qs321.pair.com?node_id=736383


in reply to Re^5: Finding Combinations of Pairs
in thread Finding Combinations of Pairs

tilly,
My funny bone is often broke. In spoken conversation I have learned to pick up on many social cues when to not take something literally but it is an effort and I commonly get it wrong. Written communication is so much worse. Thanks for the pointer.

Cheers - L~R

Replies are listed 'Best First'.
Re^7: Finding Combinations of Pairs
by andye (Curate) on Jan 14, 2009 at 23:04 UTC
    No worries, LR. ;)

    The key issue that I was pround of - on the efficiency stakes - was that it checked for *all* possible combinations of keywords - even those which did not exist on the same line ever. And that it went through the entire file again for every keyword-pair, i.e. processed the entire file keyword-factorial times. Now that's what I call thorough.

    The sand/and thing is a genuine, unintended bug though. :)

    All the best, andy.

    (BTW, 'NB see parent node' was intended as a nod/wink - perhaps kinda unclear though).