[MINC-development] max_buffer_size_in_kb

Andrew Janke a.janke at gmail.com
Mon Aug 15 00:18:11 EDT 2011


>> True - so nevermind
>
> It would be best I think if the env variable had the unit in them. Nothing I have
> more then having to dig around to find out if it's KB, pages, MB or centibits.

So much for design by committee.. :)

This keep everyone happy?

   https://github.com/andrewjanke/minc/commit/86cb2b2c976873c668f5319e022943fa3f54a4d5

Works for me, I'm not entirely convinced by the _KB extensions but see
the point. Now to figure out how to integrate this into voxel_loop.c:

   https://github.com/andrewjanke/minc/blob/master/libsrc/voxel_loop.c#L1792

That particular line already looks long and confusing enough, time for
an extra local variable or two I think.


a


More information about the MINC-development mailing list