Create Nibbles and use them in arrays/slices in golang, originally created for HoneyGO. Note this doesn't actually create the datatype but it allows space savings in arrays/slices i.e. lighting data in minecraft
lethalethan / go-nibble Goto Github PK
View Code? Open in Web Editor NEWCreate Nibbles and use them in arrays/slices in golang, originally created for HoneyGO. Note this doesn't actually create the datatype but it allows space savings in arrays/slices i.e. lighting data and chunk data in minecraft. just uses bitshifts and also an attempt to see how go mods work
License: MIT License