3 ms·
Well it's true that bringing row(s) of data from database to python and then serializing it for any reason as has extra overhead. But in Django's case, the sam
by geraneum 5y ago
Well it's true that bringing row(s) of data from database to python and then serializing it for any reason as has extra overhead.
But in Django's case, the same arguments can be made as for Pandas. Django is a big complex framework and an application using it might consume more memory due to countless number of other reasons. There are also best practices to use Django ORM.
But to say if a given Django instance consumes more memory it is only because of "Copy-Object-Copy effect"... I don't think so.