11-17-2022 10:18 AM
Here's one even faster. Might be the fastest in this topic yet. (optimized XML un-escape)
11-18-2022 08:44 AM
@Ettepet wrote:
Here's one even faster. Might be the fastest in this topic yet. (optimized XML un-escape)
I don't see much difference in timing:
Ettepet (fastest)= 0.180248
Darren = 0.179282
Ooth = 0.194544
But there does seem to be a problem with Ooth's implementation.
BTW. I am not a fan of your "compressed" coding style and would never use it as-is. 😱
11-18-2022 08:57 AM
@Frozen wrote:
BTW. I am not a fan of your "compressed" coding style and would never use it as-is. 😱
Shorter wires means the electrons flow faster, and have less resistance, making the program run faster.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-18-2022 09:53 AM
"Electrons"? I thought they were datons.
11-18-2022 09:56 AM
BTW. I am not a fan of your "compressed" coding style and would never use it as-is. 😱
I prefer to have my code fit on a normal pc screen (more or less), not 3 or 4 screens wide. 😆
Thanks for the timing comparison!
Darren's solution probably is a bit quicker because it doesn't do XML-unescape or regional number-formatting. Couldn't tell from the "protected" code he uploaded. 🙂
11-18-2022 10:09 AM
@Ettepet wrote:
Darren's solution probably is a bit quicker because it doesn't do XML-unescape or regional number-formatting. Couldn't tell from the "protected" code he uploaded. 🙂
I only uploaded one VI, in my original post. It was documented and not password-protected.
11-18-2022 11:13 AM
@Darren wrote:
@Ettepet wrote:
Darren's solution probably is a bit quicker because it doesn't do XML-unescape or regional number-formatting. Couldn't tell from the "protected" code he uploaded. 🙂
I only uploaded one VI, in my original post. It was documented and not password-protected.
Sorry for that, end of the day. Thanks for your original code b.t.w. I can now have Excel files open in Excel while importing data, which is a great help.
...so that means its slightly faster time comes from not doing XML-escaping, regional-number formatting etc.
01-18-2023 04:33 PM
Anyone opposed to me turning a version into a VIPM package? I presume DNatt doesn't mind if I start from his, want to check with others. I would link to this forum in the package description.
01-18-2023 04:40 PM
@DerrickB wrote:
Anyone opposed to me turning a version into a VIPM package? I presume DNatt doesn't mind if I start from his, want to check with others. I would link to this forum in the package description.
Sounds great, thanks for doing this Derrick. My preference would be that you use my original VI (I did not see anybody report any bugs with the original version in this thread), and credit me as the author.
01-19-2023 05:34 AM
@Darren wrote:
@DerrickB wrote:
Anyone opposed to me turning a version into a VIPM package? I presume DNatt doesn't mind if I start from his, want to check with others. I would link to this forum in the package description.
Sounds great, thanks for doing this Derrick. My preference would be that you use my original VI (I did not see anybody report any bugs with the original version in this thread), and credit me as the author.
If your original post does do XML-escaping, regional-number formatting etc. you would be correct. If it doesn't you would need to correct that.
I will continue to use mine, which also has some efficiency improvements and fits on my display.