Commit Graph

20 Commits

Author SHA1 Message Date
Takashi Kokubun d2089559ac String buffer 2015-11-29 17:15:57 +09:00
Takashi Kokubun 158cfd6f03 Ruby 2.1- compatibility 2015-11-29 16:45:33 +09:00
Takashi Kokubun 114e80d4e0 Implement data builder with C extension 2015-11-29 16:36:26 +09:00
Takashi Kokubun 69a50a375f Faster Hamlit::AttributeBuilder.build_class 2015-11-28 17:22:07 +09:00
Takashi Kokubun f8c6d4b901 Refactor hamlit_build_id 2015-11-28 16:12:16 +09:00
Takashi Kokubun f0a8d77e10 Ruby has rb_attr* functions 2015-11-28 15:41:47 +09:00
Takashi Kokubun 447c834da6 Cosmetic changes 2015-11-28 12:08:47 +09:00
Takashi Kokubun 360c454ed5 Prevent array reallocation 2015-11-28 11:54:48 +09:00
Takashi Kokubun 7a9fc74262 Use RTEST to check truthy 2015-11-28 11:29:31 +09:00
Takashi Kokubun 7fe30b2e41 Call rb_ary_join directly 2015-11-28 04:32:09 +09:00
Takashi Kokubun 244ef859a6 Faster string conversion 2015-11-28 03:52:10 +09:00
Takashi Kokubun 3f085945e2 Unify html escape method 2015-11-28 03:39:09 +09:00
Takashi Kokubun f9463d7a2f Skip Temple::Utils.escape_html method call 2015-11-28 01:49:29 +09:00
Takashi Kokubun 0420970001 Allocate array buffer beforehand 2015-11-27 02:09:25 +09:00
Takashi Kokubun 2e30013205 Prefer rb_str_new_cstr 2015-11-27 02:02:18 +09:00
Takashi Kokubun 901eb1f540 Drop string allocation in join 2015-11-27 01:57:22 +09:00
Takashi Kokubun 9ca092d59e I'm not sure this is necessary 2015-11-27 01:25:44 +09:00
Takashi Kokubun 6909d28687 Call rb_intern beforehand 2015-11-27 01:18:02 +09:00
Takashi Kokubun d314309922 Replace build_id implementation with C 2015-11-27 00:39:24 +09:00
Takashi Kokubun 0c2ac19906 Prepare extension in C 2015-11-26 01:07:06 +09:00