Skip to content

compression-algorithm-research-lab/go-bool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-bool

一、这是什么?

更节省内容的布尔值:

  • 数组(已实现)
  • 矩阵(待实现)

二、安装

go get -u github.com/compression-algorithm-research-lab/go-bool

三、API示例

package main

import (
	"fmt"
	"github.com/compression-algorithm-research-lab/go-bool/bool_array"
)

func main() {

	array := bool_array.New(10)
	array.Set(1, true)
	fmt.Println(array.Get(1))

}

About

更节省内存的布尔类型

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages