normal
26b3dc4922
uri/common: reduce allocations and retained objects
...
Thanks to Sam Saffron for this patch, it shows
a nice reduction which affects many web applications:
require 'memory_profiler'
MemoryProfiler.report do
require 'uri'
end.pretty_print
Before:
Total allocated: 986643 bytes (15159 objects)
Total retained: 246370 bytes (2532 objects)
After:
Total allocated: 926903 bytes (13665 objects)
Total retained: 208570 bytes (1587 objects)
* lib/uri/common.rb: reduce allocations and retained objects
[ruby-core:85161] [Feature #14410 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-28 21:07:13 +00:00
..
2017-12-12 15:01:04 +00:00
2017-12-30 12:10:43 +00:00
2016-11-20 02:12:48 +00:00
2017-12-26 08:38:35 +00:00
2016-11-29 16:06:54 +00:00
2018-01-19 12:15:56 +00:00
2016-10-14 13:26:13 +00:00
2017-10-22 11:27:06 +00:00
2017-12-31 00:06:34 +00:00
2017-12-12 11:56:25 +00:00
2017-10-08 07:00:01 +00:00
2017-12-12 11:56:25 +00:00
2017-12-25 05:54:27 +00:00
2017-10-08 07:00:01 +00:00
2017-09-06 07:56:41 +00:00
2018-01-28 21:07:13 +00:00
2017-12-24 08:38:43 +00:00
2016-09-29 14:40:34 +00:00
2017-12-12 08:34:13 +00:00
2017-02-09 16:12:00 +00:00
2017-02-10 00:58:47 +00:00
2017-01-03 02:00:01 +00:00
2017-02-18 05:52:16 +00:00
2017-12-11 03:27:47 +00:00
2017-12-12 11:56:25 +00:00
2017-12-13 05:24:01 +00:00
2017-09-12 08:38:06 +00:00
2017-01-05 01:00:01 +00:00
2017-12-12 11:56:25 +00:00
2017-03-01 11:37:30 +00:00
2017-08-25 15:47:04 +00:00
2017-12-28 20:09:24 +00:00
2017-12-22 08:00:10 +00:00
2017-12-22 08:00:10 +00:00
2017-09-15 17:00:49 +00:00
2017-12-12 11:56:25 +00:00
2017-09-02 02:05:34 +00:00
2017-10-21 13:34:19 +00:00
2017-12-12 11:56:25 +00:00
2017-12-25 07:55:25 +00:00
2018-01-18 00:52:01 +00:00
2018-01-11 19:36:30 +00:00
2018-01-24 08:25:36 +00:00
2017-10-08 07:00:01 +00:00
2017-10-08 07:00:01 +00:00
2017-01-13 12:08:29 +00:00
2017-10-21 07:00:58 +00:00
2018-01-08 01:11:33 +00:00
2018-01-26 03:41:04 +00:00
2017-12-12 11:56:25 +00:00
2017-12-18 01:51:53 +00:00
2017-05-20 10:21:44 +00:00
2017-01-15 02:56:04 +00:00
2017-01-18 12:35:10 +00:00
2017-01-17 12:47:38 +00:00
2017-12-23 23:33:09 +00:00
2018-01-18 03:09:39 +00:00
2017-12-22 23:08:05 +00:00
2017-12-11 08:18:01 +00:00
2018-01-07 17:49:46 +00:00
2017-10-25 07:28:22 +00:00
2017-11-22 21:13:51 +00:00
2016-11-05 23:58:02 +00:00
2016-11-05 04:58:48 +00:00
2017-10-08 07:00:01 +00:00
2017-12-12 11:56:25 +00:00
2017-10-08 07:00:01 +00:00
2017-10-20 01:03:18 +00:00
2017-12-12 11:56:25 +00:00
2017-11-15 08:02:09 +00:00
2017-10-08 07:00:01 +00:00
2017-07-05 09:05:53 +00:00
2017-10-24 18:08:00 +00:00
2017-12-12 11:56:25 +00:00