cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Performance of fold applied to nested vector arguments

StuartBruff
23-Emerald IV

Performance of fold applied to nested vector arguments

As the song says,

 

What a diff'rence a dalgorithm makes.
Timing in seconds
Or, by hours reckoned

 

While developing a function to convert an array into a set, I was shocked to see how slowly some of my algorithms performed.  After a bit of playing, I suspect that fold or stack handle nested arrays and some other data types differently than they do scalars.

 

2025 11 18 A.png

 

2025 11 18 B.png

 

2025 11 18 C.png

 

Stuart  

0 REPLIES 0
Announcements

Top Tags