in reply to Re: Re: (Golf) Dependency List Prioritization
in thread (Golf) Dependency List Prioritization
I hope you don't mind me removing a few bytes:
(Note: I didn't test)sub f{for(values(%h=@_)){$h{$_}||=[]for@$_}sort{(grep/^$b$/,@{$h{$a}}) +||-1}keys%h}
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 4: (Golf) Dependency List Prioritization
by tilly (Archbishop) on Mar 15, 2002 at 15:42 UTC | |
by Juerd (Abbot) on Mar 15, 2002 at 15:45 UTC |