DaanV2 / go-optimal

A simple, fast, and easy-to-use library for optimally creating and handling data and slices.

Home Page:https://pkg.go.dev/github.com/daanv2/go-optimal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Optimal

GitHub go.mod Go version GitHub release (latest by date) 🐹 Golang

A simple, fast, and easy-to-use library for optimally creating and handling data.

Documentation

The documentation can be found go dev or here.

Environment Variables / Settings

Variable Optional Documentation
CPU_CACHE_L1 true Cache L1 size in bytes, When set overrides the scraped value
CPU_CACHE_L2 true Cache L2 size in bytes, When set overrides the scraped value
CPU_CACHE_L3 true Cache L3 size in bytes, When set overrides the scraped value
CPU_CACHE_OPTIMAL_SIZE true Optimal cache size in bytes, When set overrides the scraped value
CPU_CACHE_TARGET true What type of cache to target, can be L1, L2, L3, anything else and it will determine on its own

About

A simple, fast, and easy-to-use library for optimally creating and handling data and slices.

https://pkg.go.dev/github.com/daanv2/go-optimal

License:MIT License


Languages

Language:Go 99.7%Language:Makefile 0.3%