| 3 | | And in the case of named tuples, I'd recommend not putting them in get_class. The more the session data can be make of just primitive data, the better. If there are no objects in the saved state data, then the FinalizedState hack can be used to speed up the saving and restoring of data because the data does not need to be scanned, and copied, to handle objects. |
| | 3 | And in the case of named tuples, I'd recommend not putting them in get_class. The more the session data can be make of just primitive data, the better. If there are no objects in the saved state data, then the !FinalizedState hack can be used to speed up the saving and restoring of data because the data does not need to be scanned, and copied, to handle objects. |