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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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