quick_inplace