Skip to content

Commit

Permalink
poly-opt
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Jun 7, 2019
1 parent 6ce3b9c commit 99d8677
Show file tree
Hide file tree
Showing 6 changed files with 389 additions and 325 deletions.
6 changes: 6 additions & 0 deletions array/array.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ message Array32 {
//
// Since 0.5.4
Bits BMElts = 30;


// EltIndexDense stores where an elt starts in bit.
//
// Since 0.5.10
PolyArray EltIndexDense = 40;
}
6 changes: 3 additions & 3 deletions array/example_polyarray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func ExampleNewDense() {

// Unordered output:
// last elt is: 10000610
// elt_width : 2
// mem_elts : 56
// bits/elt : 32
// elt_width : 4
// mem_elts : 40
// bits/elt : 30
}
Loading

0 comments on commit 99d8677

Please sign in to comment.