Which is preferred and/or more efficient operation wise?
I ended up using a list of tuples, but am curious as to which one is preferred.
Opinions welcome but I would love a technical aspect I’m not finding via google.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tuple of two Lists involves 2 reference types/pointers (1 for each List) per item, List of 2-Tuples involves only one (1 for each Tuple), so you save 8? Bytes for each item (forgot how big the pointer + .net metainfo is).
Does such a Micro-Optimization make sense? I doubt so. I’d rather advise to use whatever makes most sense from a business-logic perspective.