Giter Site home page Giter Site logo

Comments (1)

wooorm avatar wooorm commented on July 17, 2024

Highly probable, yes.

This research is kind-off useless to me though, because:

a) I have no idea which functions your algorithm removed;
b) Unified will never be dropped in on its own, always used with other modules, which probably do use some of those functions.

To answer your questions:

-Did you were aware of the existence of these unused functions in your projects?

I’ve rewritten some parts to reduce that amount. Such as including some parts of Node’s pipes internally. I kinda think 10% is nice. But I’d love to know what you did to

-Do you think that this is a problem?
-Do you think that can be useful a tool for deal with this kind of problem?

No, such fixes should be implemented in a build step, not by libraries such as this.

UPDATE

I checked more in depth, and it seems:

  • polyfills are removed, which are in place to deal with different user agents and should not be removed;
  • function replaceExt, function location, and some setters are erroneously removed, the whole function bodies are stripped!

From what I gather you use the tests of unified to check the bundle. However, dependencies also have tests and those tests don’t need to be added to unified itself. Those tests are not included in your algorithm though.

You’re testing the wrong thing. 10% isn’t true.

from unified.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.