Skip to content

Why cocos needed own implemention of Vector ? #822

Closed Answered by DelinWorks
meiry asked this question in Q&A
Discussion options

You must be logged in to vote

Its there because it stores classes inherited from the Ref type, which is really useful, it retains an object in memory when it's inside the vector and releases it when it goes out. simple memory management trick

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by halx99
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants