Skip to content

Comments

Drop old support and use ES2015 features to reduce filesize and make better peformance#83

Open
cyfung1031 wants to merge 4 commits intoYuzuJS:masterfrom
cyfung1031:patch-es2015
Open

Drop old support and use ES2015 features to reduce filesize and make better peformance#83
cyfung1031 wants to merge 4 commits intoYuzuJS:masterfrom
cyfung1031:patch-es2015

Conversation

@cyfung1031
Copy link

@cyfung1031 cyfung1031 commented Jan 1, 2024

  • native optional arguments instead of arguments copying by coding
  • ES2015 Map; map.delete(key) is much faster than delete object[key]
  • read event.data once and use startsWith(...) instead of indexOf(...) === 0
  • drop IE support (IE is already dead!)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant