Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Evolving a faster filter? (optimal solution?)

by LanX (Chancellor)
on Jan 04, 2013 at 21:22 UTC ( #1011721=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my @order = sort {
        $Costs[$a]+$Trims[$a]*$Costs[$b] <=> $Costs[$b]+$Trims[$b]*$Costs[
    } 0..$#Costs;
  2. or download this
    my @order = sort {
        $Costs[$a]/(1-$Trims[$a]) <=> $Costs[$b]/(1-$Trims[$b])
    } 0..$#Costs;
  3. or download this
    my @order = sort {
        $weight[$a] <=> $weight[$b]
    } 0..$#Costs;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011721]
[zentara]: are you talikng about perf?
[Discipulus]: i miss what an undocumented instructions can be, and how can be used
[zentara]: perf
[marto]: X86_instruction_li stings
[marto]: Illegal_opcode
[zentara]: marto arn't those NSA secrets? :-)
[marto]: not if you keep telling people :P
[zentara]: I had to disable hyperthreading on my machine because of that.
[Discipulus]: thanks marto but... at the moment this seems a bit beyond my faculties.. ;=)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-07-28 12:06 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (428 votes). Check out past polls.