TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Andre A.
Walk and talk with a real pro
Tutor Satisfaction Guarantee
Javascript Programming
TutorMe
Question:

Why should you avoid creating new objects in memory for Javascript?

Andre A.
Answer:

Javascript is slow to garbage collect and manage the allocation of new memory. You should reuse objects as much as possible to maintain a decent frame rate and avoid stuttering in animations. Reuse global and scoped objects as much as possible to get the best performance.

Computer Graphics
TutorMe
Question:

What is one use of the cross-product of two vectors in game programming?

Andre A.
Answer:

You can use the cross-product in 2D or 3D graphics to determine the direction vector an object should move along to approach it, like guiding a homing missile to a moving target.

C Sharp Programming
TutorMe
Question:

What is the difference between a value type and a reference type?

Andre A.
Answer:

A value type lives on the stack and has no NULL value allowed, while a a reference type can be NULL, must be instantiated, and lives in heap memory.

Send a message explaining your
needs and Andre will reply soon.
Contact Andre
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.