simd

package module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 0 Imported by: 0

README

simd

Project status Build Go Report Card Coverage Status GoDoc

simd (Simple In Memory Database) — is an embeddable golang database with support for conditional queries, custom sorting and custom field types.

Installation

Use go get.

go get github.com/shamcode/simd

Usage

Examples:

Benchmarks

goos: linux
goarch: amd64
pkg: github.com/shamcode/simd/benchmarks
cpu: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
Benchmark_CompareSIMDWithSQLite/10_simd-16         6106621	      1035 ns/op	     504 B/op	      12 allocs/op
Benchmark_CompareSIMDWithSQLite/10_sqlite-16       2933868	      2088 ns/op	     576 B/op	      25 allocs/op
Benchmark_CompareSIMDWithSQLite/100_simd-16         236976	     25478 ns/op	   12102 B/op	     288 allocs/op
Benchmark_CompareSIMDWithSQLite/100_sqlite-16       120069	     48522 ns/op	   13824 B/op	     600 allocs/op
Benchmark_CompareSIMDWithSQLite/1000_simd-16         18895	    354572 ns/op	  125571 B/op	    2988 allocs/op
Benchmark_CompareSIMDWithSQLite/1000_sqlite-16       11125	    529965 ns/op	  143424 B/op	    6225 allocs/op
Benchmark_CompareSIMDWithSQLite/5000_simd-16          4045	   2027158 ns/op	  638062 B/op	   15983 allocs/op
Benchmark_CompareSIMDWithSQLite/5000_sqlite-16        2059	   2767068 ns/op	  735330 B/op	   33213 allocs/op
Benchmark_CompareSIMDWithSQLite/10000_simd-16         2557	   2573430 ns/op	 1278173 B/op	   32233 allocs/op
Benchmark_CompareSIMDWithSQLite/10000_sqlite-16       1074	   5329826 ns/op	 1475332 B/op	   66963 allocs/op

License

Distributed under MIT License, please see license file within the code for more details.

Documentation

Overview

Simple In Memory Database

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL