Yes you should be doing porta.2 = 1 once tris is setup once at the beginning.
That would hopefully translate to a single set bit instruction.