classic-level icon indicating copy to clipboard operation
classic-level copied to clipboard

raw mode?

Open ronag opened this issue 2 years ago • 6 comments

In order to get key + value we use entries which are an array of [key,val]. However, allocating an array for each key value pair is slow. Would be nice if we could somehow return a flattened array with key = xs[idx * 2 + 0], val = xs[idx * 2 + 1] and avoid O(n) array allocations.

ronag avatar Apr 02 '22 23:04 ronag