mozilla/rust — pull request #5945 by graydon (2013-04-18 21:48:26+00:00)
Title: Fix unicode tables

This switches the unicode functions in core to use static character-range tables and a binary search helper rather than open-coded switch statements. It adds about 50k of read only data to the libcore binary but cuts out a similar amount of compiled IR. Would have done it this way in the first place but we didn't have structured statics for a long time.