From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 17 Jul 2010 23:41:57 +0200 Subject: [U-Boot] [PATCH 0/5] New environment code In-Reply-To: <201007171728.27716.vapier@gentoo.org> References: <1279395948-25864-1-git-send-email-wd@denx.de> <4C42190B.8060102@emk-elektronik.de> <201007171728.27716.vapier@gentoo.org> Message-ID: <20100717214157.BA49E153A7F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <201007171728.27716.vapier@gentoo.org> you wrote: > > i wonder if we could #ifdef the sorting/hashing. i tend to agree with The sorting does not take much: -> size lib/qsort.o text data bss dec hex filename 264 0 0 264 108 lib/qsort.o The hashing on the other hand might be replacable. > Reinhard that it is very common for boards to be deployed with a small env, so > i wonder if the normal runtime experience is actually faster, or if the > difference is about the same as system noise: boot u-boot, load env with ~20 > entries, read a few env vars, boot OS. Yes, this is one common use case. But then, I see also systems that are running pretty complex shell scripts to implement features like reliable software updates etc., and there we see an improvment. Also, speed is just one aspect - for me the capability of having several "profiles" is much, much more important. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It is more rational to sacrifice one life than six. -- Spock, "The Galileo Seven", stardate 2822.3