pisa-engine / pisa

PISA: Performant Indexes and Search for Academia
https://pisa-engine.github.io/pisa/book
Apache License 2.0
941 stars 65 forks source link

Use `[[likely]]` and `[[unlikely]]` #570

Closed elshize closed 9 months ago

elshize commented 10 months ago

Implement our PISA_LIKELY and PISA_UNLIKELY as [[likely]] and [[unlikely]] if compiled in c++20 mode.