When working on huge files, it seems that when hide-show collapses a large multi-line block, linum still creates hidden overlays for every line in the hidden block leading to unresponsive emacs. Is there a way to fix linum?
To reproduce: Create a new file, enable c-mode, hs-minor-mode and linum-mode,
create a huge block by typing: { C-u 10000 RET }
then execute hs-hide-all and watch Emacs become unresponsive.