首页> 外文期刊>ACM transactions on the web >Faster Base64 Encoding and Decoding Using AVX2 Instructions
【24h】

Faster Base64 Encoding and Decoding Using AVX2 Instructions

机译:使用AVX2指令更快地进行Base64编码和解码

获取原文
获取原文并翻译 | 示例

摘要

Web developers use base64 formats to include images, fonts, sounds, and other resources directly inside HTML, JavaScript, JSON, and XML files. We estimate that billions of base64 messages are decoded every day. We are motivated to improve the efficiency of base64 encoding and decoding. Compared to state-of-the-art implementations, we multiply the speeds of both the encoding (approximate to 10x) and the decoding (approximate to 7x). We achieve these good results by using the single-instruction-multiple-data instructions available on recent Intel processors (AVX2). Our accelerated software abides by the specification and reports errors when encountering characters outside of the base64 set. It is available online as free software under a liberal license.
机译:Web开发人员使用base64格式直接在HTML,JavaScript,JSON和XML文件内部包含图像,字体,声音和其他资源。我们估计每天有数十亿的base64消息被解码。我们有动力提高base64编码和解码的效率。与最新的实现方式相比,我们将编码(大约10倍)和解码(大约7倍)的速度相乘。通过使用最新的英特尔处理器(AVX2)上可用的单指令多数据指令,我们获得了这些良好的结果。我们的加速软件会遵循规范并在遇到base64集以外的字符时报告错误。它在自由许可证下作为免费软件在线提供。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号