jaegen Posted February 8, 2007 Report Share Posted February 8, 2007 Hello, I recently witnessed some strange behaviour in the performance of the "Unflatten From XML" function. When unflattening an array of strings, the contents of the string have a huge impact on how quickly the function works. It seems that if the array contains strings containing at least one space character, the function runs more than 100 times faster. I've attached a VI which demonstrates this. When I run this VI with nothing in the "String" control (this is the default), the unflatten takes ~2000 ms. If the "String" control contains just a space character, it takes 16 ms! If it contains any combination of characters with no spaces, it still takes more than 2000 ms. If it contains any combination of characters with at least on space, it goes back to less than 20 ms. Anyone have any idea why this is the case? Jaegen Download File:post-932-1170961059.vi Quote Link to comment
Yair Posted February 9, 2007 Report Share Posted February 9, 2007 No idea (interesting behaviour though), but I just wanted to say that I see this too on 7.1. Quote Link to comment
Ton Plomp Posted February 9, 2007 Report Share Posted February 9, 2007 No idea (interesting behaviour though), but I just wanted to say that I see this too on 7.1. Same in 8.2 (1800 vs. 17 ms) Ton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.