Internal List Object Beta

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Jax made a great object called the Please login to see this link., but it was mainly for mathematical purposes and not an actual list object replacement. The List object itself is slow when you need to be fast because it, being a Windows control, likes to redraw when you modify it. Even when it is set to invisible, it still takes time to modify the list.

    That is why I made the Internal List Object - it is much much faster than the List object and it has some the same features. It's in beta now because I want to find the issues before I finish the rest of it.

    You can download the current Beta here: Please login to see this link.
    Make sure to check the example and see how the list object compares to this extension.

    Please test it and let me know of any issues or missing features it may have. ;)

    Working as fast as I can on Fusion 3

  • Thanks LB, great extension. :) I was going to make this myself because I needed it for a project of mine, but it seems you've saved me the hassle. I can make an icon for it if you want me to. :)

    ExtensionView — An MMF2 Extension Database
    Please login to see this link.

  • Sure, I've never been good with graphics... :crazy:

    Just so everyone knows, I'm nearly done adding saving and loading features with both files and strings. You can use custom delimiters (not just the new line character) and custom escape characters should the delimiter or escape character already be in an item.

    If there are other request besides sorting (which I will do) please let me know. ;)

    Working as fast as I can on Fusion 3

  • Hi LB,

    Thank you for clarifying that. There are some features which list object lacks for instance the ability of aligning its content to center and right not even with the Unicode version. It would be nice to have that feature. It would be superb if it could be ported to Unicode too. ;)

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • Unicode maybe, but text alignment...? This extension is intentionally designed NOT to make a visible list; it's all inside the extension. Anyway, you can easily fake it because in the next version I have an option to get the list as a string, and you can put it in a string object and set up the interface any way you like. Here is an example I did just for you:
    Please login to see this link.

    EDIT: Update and timing

    I modified the example MFA to test the times for precise milliseconds (thanks to TimeX object) and here are the results:
    Visible List Object: 9266 ms / 9.3 seconds
    Invisible List Object: 3666 ms / 3.7 seconds
    Internal List Object Extension: So fast that it was less than 1 ms (TimeX gave me 0 ms)
    Internal List Object with 1,000,000 loops: 967 ms

    Here is the latest beta of the Internal List Object:
    Please login to see this link.
    New features:
    -Save and Load to/from files with custom item delimiters and escape characters
    -Expression to get list as a string with custom delimiter and escape character, and an action to load a list from a string in the same fashion.
    -Delimiters and escape characters can be more than one character long
    -Miscellaneous changes (beta dialog box is gone, the extension is more stable)

    Working as fast as I can on Fusion 3

  • I think it is fair enough. And this is going to speed up a
    lot of applications. I will be using this a lot for sure.

    Thank you!

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • The extension is done, it just needs the icon. [size:8pt]*pokes Jaffob*[/size]

    I am very grateful to Pharanygitis, who has asked to port the extension to flash. :D

    Working as fast as I can on Fusion 3

  • Hm, I'll fix that real quick. It won't change any functionality other than allowing you to not use escape characters.

    EDIT: Pre-release link:
    Please login to see this link.

    Working as fast as I can on Fusion 3

  • I just want to say one thing. This is GOOOOOOOOOOOOOD

    But I have one question. That is what the limitation for its number of items is. I have encountered some crashes dealing with big big number of items. But I do not complain. It just did a thing which I could do it without it in about 37 hours now in 46317 milliseconds. Wait a minute that is not even a minute! :D

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • Quote from StephenL

    Small spelling mistake in the Insert Item -->Second Dialog. ;)

    Not a problem ;). The real problem is how to load the file processed and saved by this tiny tiny extension in 46 seconds. That is to say loading a little less than 150 MB.

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • Yes, I am fixing typos here and there. ;)

    Ham: Crashes with large number of items? The limit on the number of items should be 2^32, and if you're reaching that limit I am surprised that my extension is the only thing crashing. Just how many items did you have to make the crash occur? If it is a much lower number then I will have to investigate.

    Working as fast as I can on Fusion 3

  • Hi LB,


    Please login to see this link. simulates the crash.I do not know what causes the crash but stdrt.exe stops working.

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • It did not crash or stop working, you are just doing a lot of loops. Watching the memory usage in Task Manager, it gets up to a high number, resets, gets up even higher, resets, etc. I believe this is normal as it tries to allocate more and more space for you.

    It does not crash, it just freezes while it tries to perform your commands ;)

    Working as fast as I can on Fusion 3

  • Hi LB,
    Actually it does not crash if decrease the number of items to be inserted from 5^10 and below that. The way it is, it is supposed to insert 6^10 items which is well below 2^32 but it crashes. In all the cases the CPU usage did not exceed 25% and I have provided the task generously with memory. I do not know any other way of fast inserting so many items in to the list having control of it without using so many loops in other words one for each item. Please let me know if there are other ways.
    I am sending you some images which show the detail of the crashes I get.

    Please login to see this link.

    Best Regards

    What matters is not to add years to your life but to add life to your years.
    Give yourself some time.

  • It does not crash for me, but it used 50% CPU the whole time.

    "Stopped Working" does not always mean it has crashed; it can also happen when you try to click in the window when it is frozen during a long calculation or loop.

    Working as fast as I can on Fusion 3

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!