Yes, I was able to create and use it from column section but as I mentioned I need it to call it from stat section. Do you have any idea for that? (Create a column and call that from stat section is not an option for me because what I need is to keep the number of created custom columns low.)
Yes. By the way, I had a closer look on that and found that PT4 doesn't use all the cores of the processor when loading the HUD. Maybe it would be possible to speed up this process if developers make sure to use all (or at least most) of the cores of the processor.
I'd like to count the occurence of a substring in a sting in stats . I could do that in columns by doing some trick with "replace" postgresql command but I need a solution in stats instead of columns because the number of columns you can use in a query is limited and I need a lot of these....
Having the stats in the cache would significantly speed up loading time, yes. Stats in the popups aren't loaded until the popup is requested for the first time. I respectfully disagree. As far as I understand OP's problem is not that the numbers in the HUD take long to appear but the HUD profile it...