Git Product home page Git Product logo

crc32's Introduction

crc32

crc32 implementation in a myriad of languages.

Totally Unscientific Results

Run with a 40MB randomly generated file.

  • C++ (optimized) 0.128s
  • C (optimized) 0.136s
  • Java 0.150s
  • Go 0.220s
  • C (no optimizations) 0.244s
  • Node 0.715s
  • C++ (no optimizations) 1.675s
  • Lisp (compiled) 11.788s
  • Ruby 16.289s
  • Python 22.483s
  • Lisp (interpreted) 38.779s

C

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

No optimizations: 0m0.244s
With optimizations (-O3): 0m0.136s

C++

i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

No optimizations: 0m1.675s
With optimizations (-O3): 0m0.128s

Go

go version go1.0.3

Go: 0m0.220s

Java

java version "1.7.0_15"

Java: 0m0.150s

Lisp

GNU CLISP 2.49 (2010-07-07)

Interpreted: 0m38.779s
Compiled: 0m11.788s

Javascript

node v0.8.8

Node: 0m0.715s

Python

Python 3.3.0

Python: 0m22.483s

Ruby

ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]

Ruby: 0m16.289s

crc32's People

Watchers

James Cloos avatar Dhavalkumar Prajapati avatar

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.