Forum

Highest value in spread?

Hi everyone,

How do i get the highest value of a spread and the slice number of that value? I tryed already S+H but I have 18K of slices and is difigult to identify values when all change at same time . THX.

Bounds (Spectral) will give you the highest value. and Sift (Value) can search for that value in the spread returning the index

as you have 18K values, you can also try to use = (Value) and Select (Value) after bounds. or use Sort and CDR combination. don’t know what will perform better at this slice count.

18000 slices is a lot!!

There for, we already discovered that a sort node + CDR is faster.

Read my tricks page, and learn some more tricks.

edit: and now Tonfilm was faster… lol…

edit2: I attached the three ways, be carefull, 18k slices.
In my top 3 the = + Select way comes last.

18000 slices is a lot!!

There for, we already discovered that a sort node + CDR is faster.

Read my tricks page, and learn some more tricks.

edit: and now Tonfilm was faster… lol…

edit2: I attached the three ways, be carefull, 18k slices.
In my top 3 the = + Select way comes last.

GetHighestValue.v4p (10.6 kB)

Thanks a lot ! I’ll work on it.