News for hackers. Stuff that matters.
Re:Ask HN: What is the best enterprise software you use ever... by winrid on Friday July 17, 2020 @03:18AM (#23868024)
That's because IntelliJ is creating an (I think) inverted index and dependency graph of your project for code completion/Intellisense and it uses multiple CPU cores to do this as fast as possible.

VSC won't do this to the same extent.

Inverted indexes are slow to create, but fast to query.

Re:Ask HN: What is the best enterprise software you use ever... by exikyut on Friday July 17, 2020 @07:09AM (#23869313)
https://en.wikipedia.org/wiki/Inverted_index:

There are two main variants of inverted indexes: A record-level inverted index (or inverted file index or just inverted file) contains a list of references to documents for each word. A word-level inverted index (or full inverted index or inverted list) additionally contains the positions of each word within a document.

TL;DR, for every (key)word, list its file and position. A smart IDE implementation would also need to take file rename and move into account, and translate byte positions to line numbers for quick jump-to-file.