Forum OpenACS Development: Re: How to speed up this very slow loop?

Collapse
Posted by Jeff Davis on
you should probably generate a tcl array to map phb_all to phb_person which I think would be a lot faster (alternatively
make a list of each, sort it, and walk through in order).
Not clear which of those two alternatives would be faster but
certainly both are better than the O(n^2) lookup here.