commit | 793dc16f8e0673887a22424de50792e5dbebccf8 | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Thu Jan 11 02:26:18 2024 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Thu Jan 11 11:16:49 2024 +0100 |
tree | 49927eacc45ae3a53ff5e7ec820b1f024b9a0386 | |
parent | cbab71ce03f48f42859e83ba50fd9d414bb28a82 [diff] |
Glimpse: Optimize mapEachRow a little bit Avoid getting column indexes for each element, save it inside an array which gets passed to the mapping callback. Could've went with a (hashed) map of string to int, but it defeats the purpose, array access is O(1) Change-Id: I0ad8f3585abe2ab6a2ae42c864a896e29362fff6