ah, one last word: when trying to reduce the amount of calcs that need to be done, consider not using [expr]. [expr] has to parse the expression, which is costy.
i made a small benchmark a short time ago ... it turned out that |expr| and pd objects are about the same speed ...
if speed really matters, the best thing would be to use k_cext ...
cheers ... tim