|
From: | Bill Auerbach |
Subject: | [lwip-devel] [patch #6822] Patch places memory pools in separate arrays |
Date: | Thu, 29 Oct 2009 20:33:25 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729) |
Follow-up Comment #3, patch #6822 (project lwip): Correction on saving RAM. u8_t *const memp_bases[]; Keeps the array in code space, not RAM, so I was wrong about it saving space. Doesn't the static (when put back in) change the scope as well as putting this in the function that uses it? It also saves another #if/#endif conditional block you'd need in the function if it's there. No matter - it works either way. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?6822> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |