Bug 15871 – Implement SIMD-friendly set intersection

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2016-04-04T15:00:03Z
Last change time
2024-12-01T16:26:26Z
Keywords
SIMD
Assigned to
No Owner
Creator
Dmitry Olshansky
Moved to GitHub: phobos#10169 →

Comments

Comment #0 by dmitry.olsh — 2016-04-04T15:00:03Z
See the paper: http://www.vldb.org/pvldb/vol8/p293-inoue.pdf And related SIMD galloping: http://boytsov.info/pubs/simdcompressionarxiv.pdf Quoting the first paper: Our algorithm is suitable to replace existing standard library functions, such as std::set_intersection in C++, thus accelerating many applications, because the algorithm is simple and requires no preprocessing to generate additional data structures. We implemented our algorithm on Xeon and POWER7+. The experimental results show our algorithm outperforms the std::set_intersection implementation delivered with gcc by up to 5.2x using SIMD instructions and by up to 2.1x even without using SIMD instructions for 32-bit and 64-bit integer datasets. Worth looking into.
Comment #1 by robert.schadek — 2024-12-01T16:26:26Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10169 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB