If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Caching in a simple way and saving CPU
1 post
• Page 1 of 1
Caching in a simple way and saving CPU
Though I realize it is not the most unique concept. After working with Synthmaker and Flowstone
I've realized how similar to working with DSP code is to say HTML and CSS.
Especially in the tense of re-utilizing images. Like for instance there was a time when coders would use something called
a spacer.gif; Or in the case of this forum the smilies used for instance are not many images but one image?
Furthermore to make image caching in HTML and CSS, all one has to do is to have a hidden element with the images
to be cached inside. Think to Yourself; Is that not unlike the preview modules?
It was only after trial and error that I had come upon this and I thought I would share that; But to also provide a tip regarding optimization I suggest You make sure to use the same image for many knobs that are the same type. All of My plugins are 2%CPU
or less and I know that might make Me seem kind of old school, if You really think about it - The good plugins are the ones You might
use 20-30 times in a track. And that is when CPU Saving becomes so prudent.
Here's some screenshots depicting that:
I've realized how similar to working with DSP code is to say HTML and CSS.
Especially in the tense of re-utilizing images. Like for instance there was a time when coders would use something called
a spacer.gif; Or in the case of this forum the smilies used for instance are not many images but one image?
Furthermore to make image caching in HTML and CSS, all one has to do is to have a hidden element with the images
to be cached inside. Think to Yourself; Is that not unlike the preview modules?
It was only after trial and error that I had come upon this and I thought I would share that; But to also provide a tip regarding optimization I suggest You make sure to use the same image for many knobs that are the same type. All of My plugins are 2%CPU
or less and I know that might make Me seem kind of old school, if You really think about it - The good plugins are the ones You might
use 20-30 times in a track. And that is when CPU Saving becomes so prudent.
Here's some screenshots depicting that:
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 54 guests