forked from Starlink/starjava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fits: lazily create ColFitsStarTable per-column Inputs
In ColFitsStarTable, create the per-column input objects only when they are required, rather than pre-emptively for all columns, in the RowSequence and RowAccess implementations. Although this introduces an extra null test into each cell read operation, this does not seem to impact the performance, and it means that columns never needed are never (e.g.) mapped.
- Loading branch information
Showing
1 changed file
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters