If there is a library from which I\'m going to use at least two methods, is there any difference in performance or memory usage between the following?
from X
I don't believe there's any real difference, and generally worrying about that little amount of memory isn't typically worth it. If you're going to be pressing memory considerations, it will far more likely be in your code.