Another gist written for stack overflow. This breaks up a vector defined lengths and accounts for the remainder size. Great for splitting up a vector for saving into different files. It is a loop, but any performance issues should be minimal and increases readability/extendability.
Categories
- bicycles (22)
- data (7)
- design (4)
- music (13)
- photography (255)
- programming (12)
- Travel (8)
- Uncategorized (19)
Archives
Search
© 2019 Matt Sandy - Theme by Ritesh Sanap
Comments are closed.