This is in responsie to the proposial to merge underscore and lodash. There is a question about the size of the two libraries with lodash having a lot of coments that get stripped out. To try to get a more apples to apples compairison, this is what I did.
- Downloaded underscore 1.8.3 and lodash-compat 3.9.0, unminified development builds of both
- Used the very simple jsmin to remove comments in both underscore and lodash
- Use
$ jscs --fix
to create a consistant style in both
The results:
- Underscore is 587 lines at about 32K
- Lodash is 2702 lines at about 155K
Keep in mind, lodash does does have more functionallity along with the larger size. There are probably flaws with this method, but it gets us closer to an apples to apples compairison.