wholesomepotato
Joined 3 years ago
Joined 3 years ago
I see what you mean by length. I just skimmed over the text originally as I don't have time for rather lame problems like this. I'd just add 3 bits of length to be part of the index, job done. 12KB lookup table instead of 4KB, assuming 0 is not a valid value (negate to avoid needing 0b11).
The lookup table can detect some, but not all errors, so yeah, it relies on valid input.
> 3.2% is absolutely peanuts to what it was some 3-4 decades ago.
But 3-4 decades ago governments, all institutions and economy as as whole were not so much in debt. https://fred.stlouisfed.org/series/GFDEGDQ188S . And this chart doesn't include all the "unfunded liabilities".
You can hike rates to curb the inflation only if it doesn't bankrupt everything and everyone.
And 3-4 decades ago boomers globally were ahead of most productive years of their lives, without the "baggage" of tons of kids and globalization had plenty of room ahead to increase productivity.
I don't want to waste time talking about nonsense like AI and "space exploration". The financial system is screwed. That's all I'm saying.
How is it not obvious to everyone that this is the end game? Increasing rates will rapidly increase debt, which increases inflation, which pushes increasing rates ...
a = v ^ 0x30303030lu // normalize to digits 0xXX0a0b0c
b = (a << 12) | a // combine into XXXXXbacb0c
idx = (b >> 12) & 0xfff // get bac
res = lookup[idx]
They're in this sweet spot where they're neither held accountable by the voter, nor by the consumer.
The can be wrong over and over and over again and nothing is going to happen. A private company has to at least not loose more money then they can bribe politicians to give them.
:D