2021-06-05, 09:34 AM
The question is incomplete. Use X for what? All 3 features have other differences, and are suited for other things. PP lists are resizable; PVars are maps (so PP maps would be better in a comparison), plus their lookup is linear so the difference will only become apparent for a larger collection.
And the difference should be interpreted in another way. It doesn't matter at all what the absolute difference is for a single call, you should be looking at how it scales. So for 1000 calls it will be 200 ?s and so on. But I don't think it matters (for this specific use case) that much since twice slower is still more or less within the same order of magnitude.
And the difference should be interpreted in another way. It doesn't matter at all what the absolute difference is for a single call, you should be looking at how it scales. So for 1000 calls it will be 200 ?s and so on. But I don't think it matters (for this specific use case) that much since twice slower is still more or less within the same order of magnitude.