Optimize a FlxFunction

Registered by Wolfgang Betz

It might be possible that a function of type FlxFunction can be optimized by reordering its terms.
However, it is tricky to write an algorithm dealing with that.

The information on how intensively to optimize a function should be given by default and by an optional argument at the end of a function.

Blueprint information

Status:
Started
Approver:
Wolfgang Betz
Priority:
Low
Drafter:
Wolfgang Betz
Direction:
Approved
Assignee:
Wolfgang Betz
Definition:
Drafting
Series goal:
Accepted for trunk
Implementation:
Slow progress
Milestone target:
None
Started by
Wolfgang Betz

Related branches

Sprints

Whiteboard

NOTE: a basic optimization function has already been implemented

- try to rearange groups (+-*/) so that you can calculate some numbers
- ...
- try to find something like cosĀ²+sinĀ² (=1) ...

- optimize Matrix-Functions

- operators with 2 elements -> special version if one operant is a number

- is a memory optimization possible ??? This would be very important !!!

evaluation of constants WILL cause trouble with e.g. integ,root,sum

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.