{"shas":[["4db2cd7c5eeae7759796c65baa04f8f77baead84","605208d9b4c769ca62e9f9f8b592c9cd465fe6d7@mina86.com","lib: vsprintf: optimised put_dec() function\n\nThe put_dec() and family of functions were based on a code\noptimised for processors with 8-bit ALU but since we don't\nneed to limit ourselves to such small ALUs, the code was\noptimised and used capacities of an 16-bit ALU anyway.\n\nThis patch goes further and uses the full capacity of the\nprocessor's ALU.\n\nOn 64-bit machines, the number is repeatedly divided by\n100,000 to split it into 5-decimal-digit which are converted\nusing the obvious base conversion algorithm expect division by\nten is replaced with multiplication and shifts.\n\nOn 32-bit machines, no division is performed at all and in\nparticular, no 64-bit division is performed.  This can speed\nup conversion a few times and up to 10 times!\n\nSigned-off-by: Michal Nazarewicz <mina86@mina86.com>\nSigned-off-by: Douglas W. Jones <jones@cs.uiowa.edu>\nCc: Denys Vlasenko <vda.linux@googlemail.com>\nCc: Hugh Dickins <hughd@google.com>","Michal Nazarewicz"]],"repo":"mina86/linux-2.6","actor":"mina86","ref":"refs/heads/v2.6.38-rc7+put-dec","size":1,"head":"4db2cd7c5eeae7759796c65baa04f8f77baead84","actor_gravatar":"7849f4f5284e6bda0aa94efe1e075ccc","push_id":26095232}