Skip to content

Commit

Permalink
Fix loadColumns typo in README (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
e28eta authored Aug 6, 2023
1 parent 752eb83 commit 39f7c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ csv.columns?[0].header //=> "name"
csv.columns?[0].rows //=> ["Alice", "Bob"]
```

To speed things up, skip populating by-column access completely by passing `loadColums: false`. This will prevent the columnar data from being populated. For large data sets, this saves a lot of iterations (at quadratic runtime).
To speed things up, skip populating by-column access completely by passing `loadColumns: false`. This will prevent the columnar data from being populated. For large data sets, this saves a lot of iterations (at quadratic runtime).

```swift
let csv = EnumeratedCSV(string: "id,name,age\n1,Alice,18\n2,Bob,19", loadColumns: false)
Expand Down

0 comments on commit 39f7c48

Please sign in to comment.