colorify.js

C++ Nuggets - My little array class

Sometimes I need to store a little collection of something. I usually use a C-style array and an accompanying length variable. This is very handy - it's fast to implement, works very fast as there are no allocations, minimal amount of pointer dereferences, and no redundant pieces.