class

D4::SecondaryFrameIndex

Inherits Reference < Object

Packed entries are 30 bytes each. Small local indexes are cached; larger ones are searched on disk. Offsets are relative to the secondary directory.

Constants

ENTRY_SIZE = 30_i64
MAX_CACHED_BYTES = 1048576_i64

Constructors

new(source : Source, entry : Format::Entry, secondary_base : Int64, chromosomes : Array(Chromosome), secondary_entries : Array(Format::Entry) | Nil = nil)
Source

Instance methods

find(chromosome : String, position : Int64) : FrameAddress | Nil
Source