Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic array resizing? #34

Closed
d07RiV opened this issue Aug 10, 2015 · 2 comments
Closed

Dynamic array resizing? #34

d07RiV opened this issue Aug 10, 2015 · 2 comments

Comments

@d07RiV
Copy link

d07RiV commented Aug 10, 2015

Why is there lots of code for doubling the size of arrays? Doesn't that serve absolutely no purpose with JS arrays being dynamic objects anyway?

I.e. https://github.com/lo-th/Oimo.js/blob/gh-pages/src/dev/collision/broadphase/BroadPhase.js #82

@lo-th
Copy link
Owner

lo-th commented Aug 10, 2015

yes not good practice for javascript,
is a as3 artefact with vector
can be a good way of optimisation if find best methode

@lo-th
Copy link
Owner

lo-th commented Nov 2, 2015

ok is mush better now

@lo-th lo-th closed this as completed Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants