Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Rationale for vendoring:
Folly contains hundreds of files, requires boost & C++14. The ProducerConsumerQueue class could be extracted out of three of those files and hasn't been changed since 2018. The queue does not appear to have any open issues.
Comparisons with alternatives:
I have included a benchmark comparing folly with boost (since boost::lockfree::spsc_queue is already included in arrow, I think). Boost does not support a move workflow for spsc_queue and performs worse.
I have not compared with any other alternatives but the utility is small and straightforward enough I am doubtful there would be significant differences.
Attachments
Issue Links
- links to