diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-10-17 10:13:07 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-10-19 14:06:40 +0900 |
commit | de17e2dea137bc5ba9f00e3acec32792d0dbb2eb (patch) | |
tree | 6943dc3947a4b93ab5b69d6d4147bc0fa7c2b99a /insns.def | |
parent | f1f8f38079034c45cac86861342d0b93cc672dcd (diff) | |
download | ruby-de17e2dea137bc5ba9f00e3acec32792d0dbb2eb.tar.gz |
reduce lock for encoding
To reduce the number of locking for encoding manipulation,
enc_table::list is splited to ::default_list and ::additional_list.
::default_list is pre-allocated and no need locking to access to
the ::default_list. If additional encoding space is needed, use
::additional_list and this list need to use locking.
However, most of case, ::default_list is enough.
Diffstat (limited to 'insns.def')
0 files changed, 0 insertions, 0 deletions