Hacker News new | ask | show | jobs
by zoomablemind 2249 days ago
> ...You can remove the first k elements of a view with data += k.

How would you safely free(data) afterwards? You'd need to keep an alloc'ed pointer somehow.