If it’s just a single line at a leaf in the deptree, it should only be taking time to link everything together.
Still, long compile cycles are my kryptonite... 0 productivity. Horrible. Back when I was doing java, I patched hibernate to serialize and deserialize the generated code, so startuptimes would be lowered with about 80%.
My setup back then used hot code replacement, but so many people would just simply wait 1-3minutes for every single change...