Optimization of beams string table generation
Paul Guyot
pguyot@REDACTED
Sun Jul 4 15:19:22 CEST 2010
Hello,
beam_dict:string and the whole string table code is based on naive string search and compiling a module with thousands of binary strings takes several minutes. The following patch replaces the code with calls to binary:match/2.
git fetch git://github.com/pguyot/otp.git pg/optimize_beam_dict_string_table
http://github.com/pguyot/otp/commit/13ca6aa7b74c7887ae6c3a42b35769524af4903a
Regards,
Paul
--
Semiocast http://semiocast.com/
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris
More information about the erlang-patches
mailing list