phlegmy

joined 2 months ago
[–] phlegmy@sh.itjust.works 4 points 6 days ago (1 children)

I’m intrigued…

[–] phlegmy@sh.itjust.works 8 points 6 days ago (5 children)

What if I have over 1000 tabs open?

[–] phlegmy@sh.itjust.works 3 points 1 week ago

Rip roast veggies

[–] phlegmy@sh.itjust.works 2 points 1 week ago

Definitely more interesting without eyes, I prob fucked ‘em up a bit too

[–] phlegmy@sh.itjust.works 9 points 1 week ago (2 children)
[–] phlegmy@sh.itjust.works 1 points 1 week ago

Lololol something something dog food

[–] phlegmy@sh.itjust.works 6 points 1 week ago (7 children)
[–] phlegmy@sh.itjust.works 4 points 1 week ago (2 children)

Me too but me no haha >:(

[–] phlegmy@sh.itjust.works 1 points 1 week ago

This one's even worse. You take a shot if you miss, they take a shot if you hit: https://youtube.com/watch?v=kUMaIr4MEHg

[–] phlegmy@sh.itjust.works 10 points 1 week ago

Probably because it’s only four bytes of data, and counting/extracting bits takes more cpu time than one AND operation.
Most CPU’s are optimised to work with whole integers (32/64 bit) rather than individual bits.

If memory was a serious concern you could compress it down to one byte as a ‘number of 1s’ counter at the cost of additional cpu operations, but because 3 extra bytes is such a small amount of data, this memory/time trade off isn’t worth it in most systems.

It’d be useful if you wanted to compress some data logs or something with many subnet masks though.

view more: next ›