variables instead of my custom class and just using utility functions to manipulate, but this is not good OO design and will be a pain to use, not to mention ugly. I have thought about passing around Vector. It is a declarative Infrastructure as Code tool, meaning instead of writing step-by-step imperative instructions like with SQL, JavaScript or Python, you can declare what you want using a YAML like syntax. What is the best and cleanest way to imitate what I was previously doing with a subclass of Array, to a Vector.? Terraform is an open-source Infrastructure as Code (IaC) tool created by HashiCorp. Unfortunately, I cannot subclass Vector as it is marked final. I want to use a Vector, as it provides some performance enhancements. ![]() I need more performance out of these arrays. However, I am finding through profiling that about 95% of my processing time occurs in the functions of these objects. This works very well and allows for some clean OO code. I have previously been using my own subclass of Array(I call it NumericArray), with added functions such as sum(), mean(), add(), multiply(), etc. I want to specifically use a Vector. However, I am finding through profiling that about 95 of my processing time occurs in the functions of these objects. I am doing some intensive mathematical processing in Actionscript, and repeatedly process arrays of Numbers. This works very well and allows for some clean OO code. I would like to take advantage of all the goodness of the newer Vector class for FP10, but it seems it is marked as final.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |