Skip to content

Reverse-complement in C for "The Computer Language Benchmarks Game"

License

Notifications You must be signed in to change notification settings

byko3y/benchmarksgame-revcomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reverse-complement in C for "The Computer Language Benchmarks Game"

https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/revcomp.html
Demonstrates a good performance (at least top 5), while has half the memory usage. Currently it's not much different from other solutions unless some efficient multithreading is implemented.

Build with gcc -pipe -Wall -O3 -fomit-frame-pointer -march=native revcomp.c -o revcomp

Reverse-complement in Python 3 (revcomp.py)

Single threaded, yet slightly faster than https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-python3-6.html
(6.8 s run time of my version vs 9.7 s for python3-6 on dual core VM FreeBSD 12.0, Win7 Skylake host)

About

Reverse-complement in C for "The Computer Language Benchmarks Game"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published