1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
matz 44cd8e457b * regparse.c (PINC): use optimized enclen() instead of
ONIGENC_MBC_ENC_LEN().

* regparse.c (PFETCH): ditto.

* regparse.c (PFETCH): small optimization.

* regexec.c (slow_search): single byte encoding optimization.

* regenc.h (enclen): avoid calling function when encoding's
  min_len == max_len.

* re.c (rb_reg_regsub): rb_enc_ascget() optimization for single
  byte encoding.

* re.c (rb_reg_search): avoid allocating new re_registers if we
  already have MatchData.

* re.c (match_init_copy): avoid unnecessary onig_region_free()
  before onig_region_copy. 

* encoding.c (rb_enc_get_index): remove implicit enc_capable check
  each time.

* encoding.c (rb_enc_set_index): ditto.

* encoding.c (enc_compatible_p): small refactoring.

* include/ruby/encoding.h (rb_enc_dummy_p): inline
  rb_enc_dummy_p() and export related code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-19 08:25:03 +00:00
..
defines.h * file.c (file_expand_path): support for alternative data stream 2008-05-15 06:34:02 +00:00
encoding.h * regparse.c (PINC): use optimized enclen() instead of 2008-05-19 08:25:03 +00:00
intern.h * process.c, include/ruby/intern.h (rb_run_exec_options): externed. 2008-05-12 14:15:32 +00:00
io.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
missing.h * include/ruby/missing.h (cbrt): add declaration. 2008-03-06 05:06:30 +00:00
node.h * include/ruby/node.h: add new constants for rb_call()'s scope. 2008-04-01 21:30:36 +00:00
oniguruma.h * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid 2008-01-27 14:27:07 +00:00
re.h * include/ruby/re.h (struct rmatch_offset): new struct for character 2008-02-16 20:08:35 +00:00
regex.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
ruby.h * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. 2008-05-19 03:08:50 +00:00
signal.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
st.h * include/ruby/encoding.h (rb_isascii): defined. 2008-01-01 12:24:04 +00:00
util.h * debug.c (ruby_set_debug_option): separated ruby_each_words(). 2008-02-23 21:13:05 +00:00
win32.h * include/ruby/win32.h: define mode_t for umask. 2008-04-25 01:55:22 +00:00