Heavy is very good at generating optimized code, probably better than the average C++ coder (definitely better than me!). If your patch is already in Pd, then I'd encourage you to take the Heavy route. That should result in a performance improvement between 3x and 5x.