| You're proving my point. Yes, 495 possibilities CAN be stored in 9 bits. But the article shows STRING '00000034' (64 bits) as an example, not the actual 9-bit binary encoding. That's exactly the problem - claiming bit-level compression while showing byte-level examples. And if you look at article, nothing is binary encoded, they are all integer representations all the way down. Please someone show me a BIT implementation of this - THESE ARE BITS 0 1 0 1 1 0 - It's called BINARY. There are no 9, or 5, or 3 or 4.....That isn't how logic gates work. A 3 / INT is 8 BITS...1 BYTE. HINT: I'm right. And you never answered my question: "Has anyone implemented this with actual bitwise operations instead of integer packing?" Still waiting to see these "9-bit" "bytes"."00000034". Again, show me. There is no such thing as a 9-bit byte, that isn't how CPUs or computation work. ITS 8 BITS 1 BYTE, that is transistor / gate design architecture. This is how computers work. If you have 9 bits, you have 2 BYTES!!!!! BYTE 1: 00100011 (8 bits)
BYTE 2: 10000000 (9th - 7 wasted bits) =
16 bits, 2 BYTES THANK YOU GOODBYEEEEEEEEE |
BUT
In the article they don't mean that 00000034 is a bit or a byte. It is one of the possibilities and there are 495 of them and if you index each possibly in a 2 byte integer, you can decode it back to that string and get a representation of the promotions that happened in any game.