Message336719
| Author |
vstinner |
| Recipients |
ammar2, josh.r, larry, serhiy.storchaka, vstinner, xtreak |
| Date |
2019年02月26日.22:41:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1551220892.48.0.0433733079274.issue36127@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> How much bigger does the core interpreter + built-in extension modules get when you make this change? How much more memory is used by real world programs?
Well, any optimization is a matter of trade-off between memory and CPU. Last years, CPU are not really getting way faster (especially when you consider that Python is usually only able to use a single CPU thread), whereas computers are getting more and more RAM.
> It should be tested on a number of systems too; any losses to cache unfriendliness would be highly dependent on the size of the CPU cache.
I prefer to no pay too much attention to assumptions on the hardware. I prefer to only trust benchmarks :-) |
|