Post Reply 
Programming puzzle: Longest list of regular numbers?
04-17-2017, 04:02 PM
Post: #16
RE: Programming puzzle: Longest list of regular numbers?
(04-17-2017 03:30 PM)pier4r Wrote:  You algorithm is very interesting, I adapted one using the known algorithm how to solve it and still it is slower than yours (I'm not sure how much does it cost to put all the numbers in a list though).

378 seconds for 1429 numbers.

Creating a list is expensive due to the memory allocations and possible garbage collection. Also, I wonder if your use of IFT is also compounding the time. I wonder if IF THEN END is faster than IFT.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming puzzle: Longest list of regular numbers? - Han - 04-17-2017 04:02 PM



User(s) browsing this thread: 1 Guest(s)