Making comp() faster and variadic