3 ms·
Yeah, the Integer class maintains a cache of all signed 8 bit values: https://stackoverflow.com/a/3131208/512904 https://stackoverflow.com/a/3131208/512904 In
by matheusmoreira 7y ago
Yeah, the Integer class maintains a cache of all signed 8 bit values:
https://stackoverflow.com/a/3131208/512904 https://stackoverflow.com/a/3131208/512904
In Java, there's a clear distinction between a primitive int value and an Integer object. Not all languages have this property. I thought Python didn't.