logoalt Hacker News

piftoday at 1:34 PM2 repliesview on HN

> Need more than 64KB? Allocate two blocks.

How is that compatible with an array and a simple implementation of the index operator?


Replies

billpgtoday at 5:03 PM

I once developed for PC-GEOS, which wanted all memory in exactly 8K sized blocks. I wrote a set of C macros that presented an array-of-arrays as a single collection by using mod/divide operations on the index.

pjc50today at 1:46 PM

It isn't.

This was a problem.

show 1 reply