Question
How to effectively search through the embedded page list in pega Strategy.
We are currently using IsInPageList function in the strategy to check if a customer has some attribute in the embedded page list.
But in some cases we are having a high number of these page. around 50k. When using IsInPageList it performs a search in each page one by one in a loop.
Is there a way we can search for any item in the array using binary search or any other technique without looking into each page one by one which will be faster.
The performance of the strategy is very poor because of this.