Yeah, I share the confusion, very little info was given here. Even, what projects these are. Sources from the forum? Your projects? Sources found on government computers?
That is really cool and would be more revealing if we knew the source data?
Are these only your projects?
Makes sense with only 5000 str() calls.
It may mean a fast string lib would improve your timing.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
The key word is in the last line. We have 3,000 functions in the reference file. There is a desire to improve the translation and examples. But 90% of the features I don't use. So decided to get the top features that I use. And further put the effort in that direction.
skywalk wrote: Tue Feb 25, 2025 2:53 pm
It may mean a fast string lib would improve your timing.
I used my program to test regular expressions and I waited 11 minutes for 117,000 lines. I had to rewrite using CopyMemoryString(), the speed increased, it started to run 1 sec. 1 second versus 11 minutes.
But that's a diversion from the topic.
Yes, the native string lib is only useful for casual use. Populating arrays are fast.
The other top functions are GUI and string related.
Interesting, never thought to pareto my function calls.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
STARGÅTE wrote: Tue Feb 25, 2025 3:15 pm
To me, such a list is meaningless.
This is individual for everyone. For those who write 3D games, the list will be different. If a module of 10,000 lines is among the files, then it will make errors with its functions. It is important for me not the number of calls in real time, but the amount of use in the code. For each function, I have to read the description in the help file, and these pages should be qualitatively translated into my native language.
What I wonder is, why StartDrawing() is with 860 occurrences on place 30, but I can't see StopDrawing(), although these two commands must be used almost equally often.
skywalk wrote: Tue Feb 25, 2025 3:11 pm
Yes, the native string lib is only useful for casual use. Populating arrays are fast.
This is the exact reason I wish for a faster string manager and/or native built-in StringBuilder. This sadly won't happen for a while if ever though, Fred called it too time consuming
STARGÅTE wrote: Tue Feb 25, 2025 3:43 pm
What I wonder is, why StartDrawing() is with 860 occurrences on place 30, but I can't see StopDrawing(), although these two commands must be used almost equally often.
Because I copied the results, which may have 3 functions in a row, and it was duplicated.