JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Add external methods on JadeDynamicObjects for efficiency

Our usage of JDOs requires us to iterate properties to find properties by name, and to call multiple get methods for the same property. I expect we'd get better performance if JDOs had external methods such as findPropertyByName(name : String) : Integer and getPropertyNameTypeAndValueByIndex(index : Integer; name : String output; type : Type output; value : Any output) : Boolean and getPropertyTypeAndValueByName(name : String; type : Type output; value : Any output) : Boolean, where the return Boolean values would indicate success of finding by name.

  • Chris Power
  • May 24 2019
  • Shipped (2020)
  • Attach files
  • Chris Power commented
    January 05, 2020 17:33

    Yes, that'd do the trick.

  • Gerard O'Brien commented
    December 20, 2019 00:58

    Yes, spot on Hugh.

    It'd be great.

    Cheers

  • Admin
    Hugh McColl commented
    December 20, 2019 00:18

    Presumably you want the findPropertyByName(name : String) : Integer method to return the index of the property if found or zero if not?

    Would you be happy with two new methods similar to the ones you suggested:

    • getPropertyInfoByName(name: String; index: Integer output; type: Type output; value: Any output) : Boolean

    • getPropertyInfoByIndex(index: Integer; name: String output; type: Type output; value: Any output) : Boolean

    Where getPropertyInfoByName returns the index of the property if found?