Skip to content

Oracle has a genuine reason to store characters in a 16-bit format in the standard package String class. But what if we don't need 16 bits to represent our strings? Having less bits means faster processing times and less memory usage. Unfortunately Java doesn't provide an 8-bit version. So this is my attempt at implementing an 8-bit string class…

License

Notifications You must be signed in to change notification settings

DanielDM325/8-bit-String

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

8-bit-String

Oracle has a genuine reason to store characters in a 16-bit format in the standard package String class. But what if we don't need 16 bits to represent our strings? Having less bits means faster processing times and less memory usage. Unfortunately Java doesn't provide an 8-bit version. So this is my attempt at implementing an 8-bit string class. I tried to adhere the standard as much as possible and to build in such a way it will interact correctly with the "normal" String class.

About

Oracle has a genuine reason to store characters in a 16-bit format in the standard package String class. But what if we don't need 16 bits to represent our strings? Having less bits means faster processing times and less memory usage. Unfortunately Java doesn't provide an 8-bit version. So this is my attempt at implementing an 8-bit string class…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages