You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

github.com/templexxx/xor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/templexxx/xor


Version published

Readme

Source

XOR

XOR code engine in pure Go

more than 50GB/S per core

Move to: https://github.com/templexxx/xorsimd

Introduction:

  1. Use SIMD (SSE2 or AVX2) for speeding up
  2. ...

Installation

To get the package use the standard:

go get github.com/templexxx/xor

Documentation

See the associated GoDoc

Performance

Performance depends mainly on:

  1. SIMD extension
  2. unit size of worker
  3. hardware ( CPU RAM etc)

Example of performance on my MacBook 2014-mid(i5-4278U 2.6GHz 2 physical cores). The 16MB per shards.

speed = ( shards * size ) / cost
data_shardsshard_sizespeed (MB/S)
21KB64127.95
21400B59657.55
216KB35370.84
216MB12128.95
51KB78837.33
51400B58054.89
516KB50161.19
516MB12750.41

Who is using this?

  1. https://github.com/xtaci/kcp-go -- A Production-Grade Reliable-UDP Library for golang

FAQs

Package last updated on 20 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc