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.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
DanielDM325/8-bit-String
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published