Re: [PD] fast way to append to [text] (was: [array quantile] explanation)

2019-10-28 Thread Christof Ressi
> I wonder whether a dedicated [text append] could help here, that lacks > the functionality of [text set], but would be fast. that would be a leaky abstraction. I think the [text set] / [text get] methods can be improved to get O(N) complexity. I think we only need to cache the line positions.

[PD] fast way to append to [text] (was: [array quantile] explanation)

2019-10-28 Thread Roman Haefeli
While still not understanding the purpose of [array quantile], I was able to achieve this: > I have n samples and input q while 0 < q < 1. I would like to know > the > value x for which q*100 percent samples are smaller than x and (1- > q)*100 percent bigger. Since [text define] got a 'sort'ing