typedarray.p.[median() | lowerQuartile() | upperQuartile()]

in algorithmic trading, when setting across-the-board buy/sell prices for a basket of stocks (e.g sp500), its common to calculate a threshold price where 25% / 50% / 75% of stocks in basket will execute.

its not un-common to deal with gigabyte-scale typed-arrays in these scenarios, where performant median() / lowerQuartile() / upperQuartile() methods would be more ergonomic -- than having to implement them in custom node-addon or webassembly code.