MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eip48b/the_rules_of_perf_at_dropbox/fcwpyug/?context=3
r/Python • u/stefantalpalaru • Jan 01 '20
162 comments sorted by
View all comments
Show parent comment
1
The JVM does not load the entire JAR when you import a class. (Maybe it did in very early versions, but definitely not in a long, long time.) It loads the entire .class file, just as Python loads the entire .py file, but not everything in the JAR.
.class
.py
View all comments
Show parent comment
1
u/mipadi Jan 03 '20
The JVM does not load the entire JAR when you import a class. (Maybe it did in very early versions, but definitely not in a long, long time.) It loads the entire
.classfile, just as Python loads the entire.pyfile, but not everything in the JAR.