I appreciate that, but don't worry about bothering me. If I didn't want to be bothered with fixing issues, I wouldn't have posted it in the first place. I've actually chosen to not upload things a few times, because I was worried they'd open a can of worms.
So like I said, if I uploaded it, I want to fix it if it breaks.
Like I said in one of the prior posts, it may have to do with custom icons. Another possibility is the opening comments, since they're RTF.
Whatever the reason, feel free to get rid of any fluff. You might want to keep notes on what you changed, so if I release a new version, you can do it again.
Thanks, @DanThomas.
No complaint at all! That shows how popular your macros are. We are keeping and using them regardless of their sizes.
But thank you very much for pointing to directions that we could reduce their size and show sensitivity for future upgrades. That possibility of future upgrades has kept me from sitting down to mess around with the macros.
PS: I actually wondered one day about your Mac, since I believe you must have more large macros (well, they are actually KM mini apps).
I understand the worry about future updates, but half the fun is fiddling with something until it works like you want it to. So like I said, as long as you keep notes, mess around as much as you want!
PS: I actually wondered one day about your Mac, since I believe you must have more large macros
I have a 2017 27" iMac with a 5K monitor, 64GB ram, and a 2TB fusion drive, as well as a 1TB SSD external drive, and several other external drives for backups and storing video files. I also have an external monitor
I don't really notice any slowdown due to the large macros, however since I've had so many large macros for many, many years, maybe I don't know what I'm missing.
(well, they are actually KM mini apps).
It's funny you should mention that. The latest big one, Variable Inspector Prompt, really felt like I was writing an application. It's actually why I kept enhancing it, because I was getting a chance to feel like a real developer again.
Unfortunately it took months away from my YouTube channel, and I really should get back to that. Of course, I use a bunch of KM macros for the editing process, so I'm never far away from KM.
Thanks Dan! I'll do that with the HTML. I recently went through and replaced your KMFAM icons with similar icons from the icon chooser which did help to reduce the size.
@peternlewis I'm not sure you can answer these questions to any detailed degree, because it depends on hardware, but I'll ask anyway:
How much does the size of the macros affect performance? I'm talking about size with respect to custom icons, embedded images, and maybe a large HTML embedded script - things like that. And I'm not sure how I would define "performance"... The editor? Running macros in general?
What if you don't run large macros very often? What kind of effect would they have then, when they're not running?
Add any other thoughts you might have on the subject.
Like I said, I know this is hard to answer, but since you know the inner workings, I was hoping you could offer some general statements. I guess the most important question would be, if I pared down the size of my macros, would I notice much of a difference? (I don't really have any complaints right now.) I have a reasonably fast machine with 64GB of ram and a fusion drive, so I'm not sure how that affects things.
The size of the macros file will affect the editor if it gets too large, because the editor saves the file monolithically each time you make a change.
The size of a macro will also affect the editor performance, since it is designed for macros of a reasonable size, and long macros will require lots of controls and fields and will degrade performance.
The size of the macro file and the size of a macro has little affect on the engine performance.
The size of a macro has little affect on the engine.
Other than the editor, there should be little advantage in making macros or the macro file smaller or shorter.
In the editor, you can judge for yourself whether there is a performance issue when editing macros.