It is inefficient to build (unless on GPU), but good for search. Moreover, the search naturally benefits from data locality after ordering - this allows using MergeTree tables in ClickHouse. See https://news.ycombinator.com/item?id=36341754
And it is around 10 lines of code in SQL: https://presentations.clickhouse.com/meetup74/ai/#35