Re: queue_transaction interface + unique_ptr + performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eh, Sage had a point that Transaction has a bunch of little fields
which would have to be filled in -- its move constructor would be less
trivial than unique_ptr's.
-Sam

On Thu, Dec 3, 2015 at 11:12 AM, Adam C. Emerson <aemerson@xxxxxxxxxx> wrote:
> On 03/12/2015, Casey Bodley wrote:
> [snip]
>> The queue_transactions() interface could take a container of Transactions,
>> rather than pointers to Transactions, and the ObjectStore would move them
>> out of the container into whatever representation it prefers.
> [snip]
>
> Or a pointer and count (or we could steal array_view from GSL). That way we
> could pass in any continguous range (std::vector or even a std::array or
> regular C style array allocated on the stack.)
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux