orbit-db-docstore
orbit-db-docstore copied to clipboard
[perf] optimise docs index
In the same spirit as: https://github.com/orbitdb/orbit-db-kvstore/pull/48
There was not the need for the optimisation on the handled object. So the optimisation gains will be less, but still this eliminates the need for a copy of the array and a subsequent reversal.
I think this is missing a closing bracket before module.exports