Poor performance scaling in "Format JSON Object"
Issue #38
resolved
Formating code copied from LAVA-JSON. Uses Format-into-String in a loop that is slow for very large numbers of items (tried 100,000). Could improve, perhaps with a preallocated string, or a an array of formatted strings that are concatenated at one step.
Comments (2)
-
reporter -
reporter - changed status to resolved
Resolving as no change needed.
- Log in to comment
Tried, but could not improve meaningfully.
See https://forums.ni.com/t5/LabVIEW/Benchmark-for-Insert-Into-Array-vs-Build-Array/td-p/2777568?profile.language=en
Compiler detects Build Array and a shift register and optimises.