Skip to content

Commit

Permalink
small performance improvement for reading ARCs
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Jan 26, 2024
1 parent 3f8c788 commit c6d86b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ISA/ISA/ArcTypes/ArcTable.fs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,8 @@ type ArcTable(name: string, headers: ResizeArray<CompositeHeader>, values: Syste
let headers = table.Headers |> ResizeArray
let rows =
indexGroup
|> Array.map (fun i -> table.GetRow(i))
// Max row index is the last row index of the table, so no validation needed
|> Array.map (fun i -> table.GetRow(i,SkipValidation = true))
ArcTable.createFromRows(table.Name,headers,rows)
)

Expand Down

0 comments on commit c6d86b1

Please sign in to comment.