You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The indexmap crate is already used by the dependencies of this lib (wasmparser -> object) and would offer a better lookup speed while sparing the extra sorting on the data set, which can offer some speedup in sourcemap generation.
Success
No loss of performance. The usage of indexmap is more idiomatic in this setting, which is a win in itself.
The text was updated successfully, but these errors were encountered:
mtolmacs
changed the title
Investigate using indexmap instead of BTreeMap and Vec lookup
Investigate using indexmap instead of BTreeMap and Vec where now the .iter().position(...) is used for linear lookup
Apr 19, 2023
Background
The indexmap crate is already used by the dependencies of this lib (wasmparser -> object) and would offer a better lookup speed while sparing the extra sorting on the data set, which can offer some speedup in sourcemap generation.
Success
No loss of performance. The usage of indexmap is more idiomatic in this setting, which is a win in itself.
The text was updated successfully, but these errors were encountered: