Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some libraries have outgrown the limit... (and some don't fit) #818

Open
dead-claudia opened this issue Mar 21, 2016 · 2 comments
Open

Some libraries have outgrown the limit... (and some don't fit) #818

dead-claudia opened this issue Mar 21, 2016 · 2 comments

Comments

@dead-claudia
Copy link
Contributor

Specifically these, as per the website (sizes as of March 21):

  • Marked (5.1kb)
  • Backbone (7.3kb)
  • List.js (5.1kb)
  • Intro.js (5.6kb)
  • Platform.js (5.4kb)
  • Zepto (5.1kb)
  • Underscore (5.5kb)
  • Dom.js (5.3kb)
  • router5 (6.7kb)

Out of these, some I know do more than one thing:

  • Backbone is a framework, designed to fufill many use cases with numerous features.
  • Zepto is a partial drop-in jQuery replacement. It does quite a few things in its core build.
  • Underscore does several things, since it's a general purpose utility belt.

Maybe, some of these should be commented out/removed?

@Download
Copy link

Download commented Sep 4, 2016

Hi again @isiahmeadows ! I stumble upon you in many places 😄

Agree with you about oversized libs in the list!

The 5K limit is weird anyway.... The reason we want these libraries to be small is so they will load fast. This would make either 4K or 8K a better number as it aligns better with network packet sizes, disk sectors etc.

8K does seem big for a micro-framework though...

@aaferrari
Copy link

The 5K limit is weird anyway.... The reason we want these libraries to be small is so they will load fast. This would make either 4K or 8K a better number as it aligns better with network packet sizes, disk sectors etc.

Perhaps a solution could be to divide the libraries into categories like these:

  • Light/feather weight: Those that weigh less than 5 KB.
  • Medium weight: Those that weigh between 5 and 10 KB.
  • Heavyweight: Those that weigh more than 10 KB (maybe with a limit of up to 20 or 30 KB).

That way it wouldn't be necessary to remove what exceeds 5 KB (just recategorize it) and that would also encourage more people to submit commits of libraries that meet the other requirements except for the 5 KB limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants