1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Jean Boussier 5001cc4716 Optimize ObjectSpace.dump_all
The two main optimization are:
  - buffer writes for improved performance
  - avoid formatting functions when possible

```

|                   |compare-ruby|built-ruby|
|:------------------|-----------:|---------:|
|dump_all_string    |       1.038|   195.925|
|                   |           -|   188.77x|
|dump_all_file      |      33.453|   139.645|
|                   |           -|     4.17x|
|dump_all_dev_null  |      44.030|   278.552|
|                   |           -|     6.33x|
```
2020-09-09 11:11:36 -07:00
..
-test- Add FALLTHROUGH 2020-09-08 10:30:07 +09:00
bigdecimal sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
cgi/escape sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
continuation sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
coverage sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
date sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
dbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
digest sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
etc sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fcntl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fiber Update dependencies 2019-11-18 23:16:22 +09:00
fiddle sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
gdbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
io sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
json sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
monitor sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
nkf sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
objspace Optimize ObjectSpace.dump_all 2020-09-09 11:11:36 -07:00
openssl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
pathname Document limitation of Pathname#relative_path_from [ci skip] 2020-09-02 10:34:33 -07:00
psych sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
pty sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
racc/cparse sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
rbconfig/sizeof sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
readline sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
ripper Introduce Ractor mechanism for parallel execution 2020-09-03 21:11:06 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Show deprecation warning on Socket.gethostbyname and Socket.gethostbyaddr 2020-08-29 17:18:59 +09:00
stringio [ruby/stringio] Bump version to 0.1.4 2020-08-27 23:55:17 +09:00
strscan Document that StringScanner#matched_size returns size in bytes [ci skip] 2020-09-02 10:41:49 -07:00
syslog sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
win32 Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
win32ole win32ole: separate global variable declarations and definitions 2020-05-10 21:37:59 +09:00
zlib sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
.document
extmk.rb Configure static extensions only if in charge 2019-11-19 15:11:41 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00