Is there a performance difference between import * as _ from 'lodash' and import { indexOf } from 'lodash'

Viewed 6358

I was wondering if there is any difference in memory and performance between the 2 import.

If I have lodash in my node module, does it compile all the file anyway no matter the import?

1 Answers
Related