Commit f0c58c2
committed
[RF][HS3] Remove redundant check in variable export
The check for already added variables was redundant, because in the
`exportObject()` function we already check if a given argument was
already exported, tracking this in a standard map.
This drastically reduces performance and memory usage, because the
lookup in the JSON itself was very slow and memory hungry, because of
some caching that nlohmann-json tries to do when looking up in array
collections.1 parent a3828be commit f0c58c2
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | 1019 | | |
1025 | 1020 | | |
1026 | 1021 | | |
| |||
0 commit comments