Which ValueBase uses less memory?

The topic name sums it all, which ValueBase uses less memory? I know, it’s probably very obsolete, it’s just a weird question that came in my mind.
image

1 Like

My guess would be the BoolValue, since a true/false value requires at most one bit 0 or 1. Easy peasy. (it’s suffed with 7 other bits though, iirc)

Fairly positive the ROBLOX engine uses C, so whatever memory constraints are in C probably apply here, with some nuance? Unsure, to be honest, but I’d say it depends on what’s necessarily being stored inside the value. I’d say not to worry about it if you’re trying to optimize.

1 Like

Alright, thank you for the information.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.