Support

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

EZ Math

Post any examples or modules that you want to share here

Re: EZ Math

Postby kortezzzz » Fri Feb 13, 2015 9:06 pm

Great job! My toolbox sends it's appreciation 8-)
I must ask something: ain't these modules a little expansive to use in term of performance? I mean, each math module contains all the math PRIM's inside while we actually use only one of them per module.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: EZ Math

Postby Perfect Human Interface » Fri Feb 13, 2015 9:55 pm

kortezzzz wrote:I must ask something: ain't these modules a little expansive to use in term of performance? I mean, each math module contains all the math PRIM's inside while we actually use only one of them per module.


That's what I'd like to know. :P
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

deleted by uploader

Postby tiffy » Tue Mar 31, 2015 5:57 am

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:38 pm, edited 1 time in total.
User avatar
tiffy
 
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Re: EZ Math

Postby Nubeat7 » Tue Mar 31, 2015 12:49 pm

tiffy wrote:
kortezzzz wrote:Great job! My toolbox sends it's appreciation 8-)
I must ask something: ain't these modules a little expansive to use in term of performance? I mean, each math module contains all the math PRIM's inside while we actually use only one of them per module.


Not necessarily, it depends on the application in which it is used. :?:

Thank you PHI, this is very handy. ;)


why does it depend on the app?

there are lot of primitives for a operation which would need just one primitive normally, its not just the operators which are not in use, its also the knobs and the editboxes which are much worse because they include droplists, rubymodules, a lot of draw and view stuff and are up to 8 levels deep!
property controls, if you really want them to use in your final release, should always be purgeabled to not get compiled, and incresing the size, which is the biggest issue here, for prototyping to find out the best finetuning for your algo it could be pretty helpful but i wouldn't leave them inside.

just do the test and save a project with 64 ez math modules (set for adding), this needs 29KB
while when using just the add prim its 1KB
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: EZ Math

Postby RJHollins » Tue Mar 31, 2015 4:56 pm

.... should always be purgeabled to not get compiled,


I've wondered the same thing :?

Can the entire EZMath module be made purgeabled, and keep only the required function when compiled?
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

deleted by uploader

Postby tiffy » Tue Mar 31, 2015 7:22 pm

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:38 pm, edited 1 time in total.
User avatar
tiffy
 
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Re: EZ Math

Postby Perfect Human Interface » Tue Mar 31, 2015 11:16 pm

Nubeat7 wrote:property controls, if you really want them to use in your final release, should always be purgeabled to not get compiled


I have no idea how to do this. I even took the time to search through the manual and component reference (the word "purge" is not even used once).

just do the test and save a project with 64 ez math modules (set for adding), this needs 29KB
while when using just the add prim its 1KB


I hope you're suggesting there's more of an impact than that. I have a hard time being concerned over 28KB. You brought up the number of modules, and it's been said that each module used has some impact on CPU, though I don't know if that's measurable. I don't think it's ever been suggested precisely how much CPU is used on modulizing.

Anyways, I specifically asked for feedback regarding performance so I appreciate the discussion.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: EZ Math

Postby RJHollins » Tue Mar 31, 2015 11:45 pm

I have no idea how to do this. I even took the time to search through the manual and component reference (the word "purge" is not even used once).


If you right-click on the module, a set of options list opens ... should be 2nd from the bottom.

NOTE: Hopefully the comments made are NOT taken the wrong way !!! I think we are looking to be 1. made aware of possible side effects, and 2. Can a module be 'improved' on any front.

The convenience of these EZMaths might not be for everyone, but they are very handy modules for sure, and appreciated that they have been made available to us. THANKS!

But IF they [or any] module can be optimized or improved, this is good learning for the FS community. 8-)

my 1/2 cent :lol:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: EZ Math

Postby Perfect Human Interface » Wed Apr 01, 2015 12:42 am

RJHollins wrote:If you right-click on the module, a set of options list opens ... should be 2nd from the bottom.


I see, thank you. Although again, without literature on this, I can only make assumptions about what this does and how it works.

The discussion is good!
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: EZ Math

Postby RJHollins » Wed Apr 01, 2015 2:58 am

can only make assumptions about what this does and how it works.


I'm sure somebody here knows the details :lol:

My 'understating' [or lack thereof, is from looking inside different modules and seeing the dotted outline indicator that shows a purgeable state. IOW, only during EXPORT, these marked pieces are excluded from the outputted file.

There is a user built COLOUR PRIM that shows these internal signs, and maybe can serve as example.

What I don't know [in this case], if a specific function [PRIM] is marked purgeable YET, the data it provides is needed. What happens ??? I don't know :roll: Does the project break or malfunction :roll:

For so many of my little projects, the 'waste' is so minimal to worry .... but when we see some of the monster projects that users have built, the potential could be significant.

It would be good to learn more about this, maybe someone can shine a light ;)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

PreviousNext

Return to User Examples

Who is online

Users browsing this forum: No registered users and 40 guests