Forum Discussion
tidenz_92110
Nimbostratus
Jul 26, 2010Data Class to array
Hi Guys,
I am trying to reference a new external data class and read the contents into an array.
class URL_LIST
"/help" := "www.companya.com/help/get"
foreach...
hoolio
Cirrostratus
Jul 27, 2010I was assuming that you really need to use an array for some reason and that if that was true that it would be more efficient to get all of the datagroup elements in one go. Once you have the datagroup as a TCL list, it doesn't matter whether you access that data as a TCL list or not.
I was wondering if it might be more efficient to loop through the datagroup by index and use -name and -value flags on class element to populate the datagroup. I made an uneducated guess that the single class get operation and simple list commands might be more efficient compared with the class commands.
I guess we could take a step back and check what you're actually trying to do. I or others could then try to give you a more optimized solution.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects