Skip to content

Commit

Permalink
#138 apply buffer increase from nabu code
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinedwv committed Oct 15, 2024
1 parent cf3dcf1 commit eec321b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/millers/graph/bnodefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ func GlobalUniqueBNodes(nq string) string {
// make a map here to hold our old to new map
m := make(map[string]string)

// need for long lines like in Internet of Water
buf := make([]byte, 0, 64*1024)
scanner.Buffer(buf, 1024*1024)

for scanner.Scan() {
//fmt.Println(scanner.Text())
// parse the line
Expand Down

0 comments on commit eec321b

Please sign in to comment.