Details
- 
    Type:
Improvement
 - 
    Status: Closed
 - 
    Priority:
Minor
 - 
    Resolution: Fixed
 - 
    Affects Version/s: None
 - 
    Fix Version/s: 2.10.3
 - 
    Component/s: Efficiency
 - 
    Labels:
 
Description
It does this by counting non-gapped positions from char[0] to char[i-1].
If the calling code is iterating over columns, this could be made much more efficient by 'remembering' the last column/position e.g. in an iterator.
Attachments
Issue Links
- depends on
 - 
                    
JAL-2562 Verify and fix tests, javadoc and use of SequenceI.findPosition
-         
 - Open
 
 -         
 
- related with
 - 
                    
JAL-1034 sluggish zoom to highlight or select region with large alignments
-         
 - Open
 
 -         
 - 
                    
JAL-2544 Sort by features buggy with gapped selection region
-         
 - Closed
 
 -         
 - 
                    
JAL-2547 Sequence feature tooltips on gaps
-         
 - Closed
 
 -         
 - 
                    
JAL-2986 Sequence.findIndex wrong when 'end' > sequence length
-         
 - Closed
 
 -         
 - 
                    
JAL-2563 Status bar doesn't show positions with ambiguous amino acids
-         
 - Closed
 
 -         
 - 
                    
JAL-3296 Changing sequence start should invalidate cursor
-         
 - Closed
 
 -         
 - 
                    
JAL-2290 Avoid repeated calculation of unchanged sequence tooltip
-         
 - Closed
 
 -         
 - 
                    
JAL-2598 Don't expose sequence character array
-         
 - Closed
 
 -