I'm using this to update the attributes of a product:
However, I want to set the category IDs as well. But
$product->setCategoryIds() is a function not an attribute. Now, it will defeat the purpose of fast product saving if I load the product model just to set the category IDs. Any way I could set the category IDs without loading the product?