closely vs compactly

closely

adv
  • In a close manner. 

compactly

adv
  • In a compact manner 

How often have the words closely and compactly occurred in a corpus of books? (source: Google Ngram Viewer )