Hey. We have deduplication job that has a large amount of keyed ValueState. We want to decrease state size as much as possible, so we're using ValueState<Object> as it's smallest possible Java non-primitive. However, as per https://www.baeldung.com/java-size-of-object (and my measurements) Java Integer has the same memory size as Object due to padding. Will this still be true with RocksDB state? Can we put Integer in state without increasing state size?
Thanks, Maciej