[ruby-cvs:79086] b0bf654c31 (master): always expand ivar arrays to max width
"Aaron Patterson" <[email protected]> Tue, 7 Jan 2020 05:41:49 +0900 (JST)
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Aaron Patterson 2019-07-02 18:33:40 +0900 (Tue, 02 Jul 2019)
New Revision: b0bf654c31
https://github.com/ruby/ruby/commit/b0bf654c31
Log:
always expand ivar arrays to max width
=
If the instance variable table hasn't been "expanded", allocate the
maximum size of the ivar table. This operates under the assumption t=
hat
most objects will eventually expand their ivar array to the maximum
width anyway, so we may as well avoid realloc calls.
Modified files:
variable.c=