From: Ben Pfaff Date: Mon, 16 Aug 2010 05:03:19 +0000 (-0700) Subject: format: Optimize fmt_from_io(). X-Git-Tag: sav-api~89 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a07a055a9e1fce1024443e8bf9dcd36c0739f2;hp=f1a07a055a9e1fce1024443e8bf9dcd36c0739f2;p=pspp format: Optimize fmt_from_io(). A "switch" statement should be much faster than a linear search. ---