Comments (2)
Oooh I like that idea!
from biosequences.jl.
Okay, this is now added in #161 . Turns out it was not that important, actually. With a little tweaking of the index functions to remove all unnecessary branches and signed/unsigned conversions, here is what f(x, i) = @inbounds x[i]
compiles to:
julia> @code_native debuginfo=:none f(a, 2)
.section __TEXT,__text,regular,pure_instructions
leaq -4(,%rsi,4), %rax
movq (%rdi), %rcx
movq (%rcx), %rcx
movq %rax, %rdx
shrq $3, %rdx
andq $-8, %rdx
shrxq %rax, (%rcx,%rdx), %rax
andb $15, %al
retq
nopw %cs:(%rax,%rax)
🎉
from biosequences.jl.
Related Issues (20)
- Implement rand! HOT 1
- FASTA module not defined HOT 1
- Add doctests to CI HOT 2
- Indexing with bool or integer vector does not work with seqview HOT 1
- Converting a LongSubSeq to LongSequence can give weird results HOT 1
- New Feature: Molecular weight calculations for BioSequences HOT 8
- Translate subsequence
- Improve error message on encoding error HOT 1
- Record type inference HOT 3
- Use lowercase in DNA sequences HOT 1
- domain name of this repo should be updated HOT 4
- Translation Issue arising from `isambiguous(DNA_Gap) == false` HOT 2
- Can we skip check in `decode`?
- Feature: concatenate bases with sequences HOT 4
- Consider making Random a weak dep HOT 1
- Get this package back into PkgEval HOT 3
- Create and export a generic test biosequence
- How should one search for ORFs? HOT 5
- A strange behavior in approximate searches HOT 4
- `ispalindromic` with respect to `reverse` or `reverse_complement`? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biosequences.jl.