Guo Xiang Tan fa35137d3a PERF: Reduce allocations in Emoji.unicode_replacements.
```
MemoryProfiler.report { Emoji.unicode_replacements }.pretty_print
```

Before:

```
Total allocated: 2032131 bytes (30219 objects)
Total retained:  798059 bytes (10734 objects)

allocated memory by gem
-----------------------------------
   1270762  discourse/app
    690149  2.4.1/lib
     48764  activesupport-4.2.8
     11405  bootsnap-1.0.0
      5266  logster-1.2.7
      2473  hiredis-0.6.1
      2056  redis-3.3.3
       840  discourse/lib
       240  activerecord-4.2.8
       176  thread_safe-0.3.6
```

After:

```
Total allocated: 1715713 bytes (22449 objects)
Total retained:  797985 bytes (10737 objects)

allocated memory by gem
-----------------------------------
    957250  discourse/app
    690028  2.4.1/lib
     48764  activesupport-4.2.8
     11445  bootsnap-1.0.0
      2745  hiredis-0.6.1
      2624  redis-3.3.3
      1473  logster-1.2.7
       928  discourse/lib
       280  activerecord-4.2.8
       176  thread_safe-0.3.6
```
2017-06-20 13:50:37 +09:00
..
2016-12-22 16:46:53 +11:00
2017-03-11 14:25:09 +08:00
2015-08-19 16:57:26 +10:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2017-04-15 12:29:00 +08:00
2016-06-17 11:28:49 +10:00
2016-06-17 11:28:49 +10:00
2017-04-12 10:53:49 -04:00
2016-02-23 10:33:53 +11:00
2017-03-22 14:26:53 +08:00
2016-08-15 17:59:36 +10:00
2016-10-31 15:02:11 +05:30
2017-04-15 12:29:00 +08:00
2016-02-23 10:33:53 +11:00
2017-05-12 14:47:08 -04:00
2016-10-31 15:02:11 +05:30
2016-02-23 10:33:53 +11:00
2016-03-28 15:21:45 +11:00
2016-02-23 10:33:53 +11:00
2016-12-12 17:29:54 +08:00
2015-09-18 10:41:10 +10:00
2016-05-30 10:45:32 +10:00
2016-03-28 15:21:45 +11:00
2016-09-22 09:52:19 -04:00
2015-09-18 10:41:10 +10:00
2016-02-23 10:33:53 +11:00
2016-05-30 10:45:32 +10:00
2016-02-23 10:33:53 +11:00
2017-04-15 12:29:00 +08:00
2016-12-22 16:46:53 +11:00
2015-09-18 10:41:10 +10:00
2016-02-23 10:33:53 +11:00
2016-12-22 16:46:53 +11:00
2016-02-23 10:33:53 +11:00
2015-09-18 10:41:10 +10:00
2016-11-24 10:13:03 +08:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-10-31 15:02:11 +05:30
2017-05-12 11:09:41 -04:00
2016-06-17 11:28:49 +10:00
2016-06-17 11:28:49 +10:00
2017-05-10 15:47:11 -04:00
2014-04-08 17:35:44 +02:00
2016-05-30 10:45:32 +10:00
2016-05-30 10:45:32 +10:00
2017-05-26 09:04:54 -04:00
2017-03-22 14:26:53 +08:00
2015-09-14 10:48:24 +02:00
2016-02-23 10:33:53 +11:00
2016-10-31 15:02:11 +05:30
2017-03-22 14:26:53 +08:00
2017-03-22 14:26:53 +08:00
2016-02-23 10:33:53 +11:00
2016-02-23 10:33:53 +11:00
2016-12-22 16:46:53 +11:00
2017-04-12 10:53:49 -04:00
2016-02-23 10:33:53 +11:00
2014-07-03 17:29:44 +10:00
2016-10-31 15:02:11 +05:30