Forum Discussion

Syed_Akhtar_Gha's avatar
Syed_Akhtar_Gha
Icon for Nimbostratus rankNimbostratus
Feb 22, 2012

Pointer Arrays in iRules

Hi,

 

I was going to write an iRule which requires multiple string comparison. String comparison are no doubt computationally expensive. In C/C++ we used to use pointers or even pointer arrays (for 2D arrays) and _asm code to make the code efficient.

 

 

Is there any such data type that can be used for string comparison rules?

 

 

 

Best regards,

 

 

 

Akhtar

 

 

 

 

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Nope. But you can use a match on a datagroup using the class command

     

     

    H