New pages

From ActionScriptWiki

Jump to: navigation, search
Namespace:
Username:

Showing below up to 18 results starting with #1.
View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).

  1. 17:31, 28 March 2009 ‎Loop Unrolling (hist) ‎[1,371 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization A loop with a constant known maximum can be unrolled very easy. In most cases it does not make sense to unroll a loop manually because maintaining the code w...)
  2. 13:39, 28 March 2009 ‎Avoiding Multiplications In Loops (hist) ‎[1,058 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Multiplications in loops are often not necessary if one of the factors is a constant value. == Wrong version == ''value'' is the result of ''i'' multiplied ...)
  3. 22:06, 23 March 2009 ‎Function Calls (hist) ‎[734 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Function calls are very expensive in terms of speed. Therefore it makes a lot of sense to inline very simple methods. There is of course a tradeoff since Act...)
  4. 21:49, 23 March 2009 ‎Adding An Array Element At Arbitrary Index (hist) ‎[444 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Snippets This snippet will add an object at an arbitrary index while preserving the order of the array. The method can be optimized a little bit more if ''array.length'' ...)
  5. 21:27, 23 March 2009 ‎Local Variables (hist) ‎[722 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization There are a lot of myths when it comes to local variables where they should be placed. Whenever it makes sense to put a local variable in a loop it should be...)
  6. 21:18, 23 March 2009 ‎Avoiding Denormals (hist) ‎[2,055 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Denormal numbers are floating point numbers that are really small. When such a number occurs the CPU switches into denormal mode and calculations become very...)
  7. 19:36, 18 March 2009 ‎Pool (hist) ‎[5,908 bytes] ‎Joa (Talk | contribs) (New page: Category:Data_Structures A pool of objects is something that is very useful because of various reasons. * The creation of an object happens only once and the ''new'' operator is very e...)
  8. 18:34, 18 March 2009 ‎LinkedList (hist) ‎[1,316 bytes] ‎Joa (Talk | contribs) (New page: Category:Data_Structures A LinkedList is the fastest way to store and iterate over a set of data elements if the content of the list is static. Inserting and removing elements of a lin...)
  9. 18:06, 18 March 2009 ‎Loops (hist) ‎[910 bytes] ‎Joa (Talk | contribs) (New page: There are several ways to loop through a list of elements. Sometimes == Loop Without Variable Access == This is the fastest version of a loop if there is no need to access the variable w...)
  10. 17:59, 18 March 2009 ‎Constructor (hist) ‎[260 bytes] ‎Joa (Talk | contribs) (New page: Code inside the constructor is not optimized by the Just-in-time compiler (JIT). To use JIT optimized code there is the possibility to call a function out of the constructor. The code insi...)
  11. 17:50, 18 March 2009 ‎Bitwise Operations (hist) ‎[1,106 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Category:Code_Snippets When dealing with integer types only, bitwise operations are in most cases faster than plain math. == Multiplication By 2^x == A ...)
  12. 17:29, 18 March 2009 ‎Pairs (hist) ‎[1,386 bytes] ‎Joa (Talk | contribs) (New page: When storing multiple values together in one or more lists the best way is to use an object that holds all the information so there is no overhead for accessing multiple or the same list m...)
  13. 16:44, 18 March 2009 ‎Instance Recycling (hist) ‎[797 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Calling the ''new'' operator is very expensive. It is possible to use the same instance of an object over and over again instead of creating new ones. == Wr...)
  14. 16:37, 18 March 2009 ‎Casting (hist) ‎[1,446 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Casting is important when elements in an Array are accessed directly. The Flash Player has to figure out what kind of element is inside the Array and this st...)
  15. 16:27, 18 March 2009 ‎Typing (hist) ‎[1,087 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Custom objects should be always typed as such since the Flash Player can perform very important optimizations in such a case. An example could be a simple th...)
  16. 15:23, 18 March 2009 ‎Native Types (hist) ‎[2,497 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Optimization Since ActionScript offers multiple types it is possible to choose the appropriate type for a specific operation. It is sometimes not easy to decide which one...)
  17. 14:45, 18 March 2009 ‎Conditional Compilation With FDT (hist) ‎[1,361 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Snippets Conditional compilation in FDT is problematic since FDT tries to identify errors in the code before compilation. This is of course a strength of FDT but since it...)
  18. 14:24, 18 March 2009 ‎Linked List Reversal (hist) ‎[686 bytes] ‎Joa (Talk | contribs) (New page: Category:Code_Snippets function reverse( start: ILinkedListElement ): void { var p: ILinkedListElement = start; var pr: ILinkedListElement; var pt: ILinkedListElement; whil...)

View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).

Views
Personal tools
Toolbox