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
package main | |
import ( | |
"fmt" | |
"log" | |
"v.io/x/lib/ibe" | |
) | |
const ID = "[email protected]" |
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
package main | |
import ( | |
"bytes" | |
_ "embed" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"github.com/ipfs/go-cid" |
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
package main | |
import ( | |
"fmt" | |
"unsafe" | |
"github.com/edsrzf/mmap-go" | |
) | |
func main() { |
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
-- Only available on PostgreSQL 11 | |
/* We'll create a table and load a million data and compare a two indexes, onde with included data and the other without it */ | |
/* The table will for demonstration */ | |
CREATE TABLE "user" ( | |
id BIGSERIAL NOT NULL, | |
name VARCHAR(32) NOT NULL, | |
email VARCHAR(32) NOT NULL, | |
aboutme VARCHAR(256), |