pisa-engine / pisa

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

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

Closed elshize closed 8 months ago

elshize commented 9 months ago

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