NightSkyJeff
NightSkyJeff2y ago

NightSkyJeff – 01-43 Jan 9

do I need to worry about creating lots of DOMPoint()s, or do they get destroyed when they go out of scope like any other object?
3 Replies
NightSkyJeff
NightSkyJeff2y ago
I have a function for converting a mouse event (clientX, clientY) to svg coordinates, using (new DOMPoint (clientX, clientY)).matrixTransform(...) and I want to know if it's in my best interest to just define a single DOMPoint once and modify it instead.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1061822564101521569