js-astcompressor-prototype AST 压缩原型

程序名称:js-astcompressor-prototype

授权协议: Apache

操作系统: 跨平台

开发语言: JavaScript

js-astcompressor-prototype 介绍

js-astcompressor-prototype 是调查二进制 AST
表现方式的研究原型。此项研究能发现压缩后大小、压缩前大小、复杂度与解码速度之间的最佳平衡。

示例代码

(function (root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(['exports'], factory);
  } else if (typeof exports !== 'undefined') {
    factory(exports);
  } else {
    factory((root.asmExpressionChain = {}));
  }
}(this, function (exports) {
  var BinaryPrecedences = ([
    ["*", "/", "%"],
    ["+", "-"],
    ["<<", ">>", ">>>"],
    ["<", "<=", ">", ">=", "in", "instanceof"],
    ["==", "!=", "===", "!=="],
    ["&"], ["^"], ["|"], ["&&"], ["||"]
  ]).map(function (p) {
    var result = Object.create(null);
    for (var i = 0, l = p.length; i < l; i++)
      result[p[i]] = true;
    return result;
  });

js-astcompressor-prototype 官网

https://github.com/WebAssembly/js-astcompressor-prototype

相关编程语言

Pacman 是一个软件包管理器, 作为 ArchLinux 发行版...
Smb4K 是KDE下的网络共享浏览器 更多屏幕截图请看:...
Wine (“Wine Is Not an Emulator” 的首字母缩写)...
虚拟桌面软件,可管理最多9个虚拟桌面,你可以用热键...
UNetbootin (Universal Netboot Installer)为一种跨...
Cobbler 可以用来快速建立 Linux 网络安装环境,它已...