Separating geometry nodes into a separate library should allow us to use precompiled headers and unity builds to speedup build-times more easily. Especially unity builds benefit from this. Previously we had to make changes to all node systems to use unity builds. Now only geometry nodes has to be changed.
See P2578 for more details for how much unity builds can help us improve compile times.