mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Merge pull request #1691 from phil-scott-78/emoji-perf
This commit is contained in:
commit
be45494d6e
@ -18,7 +18,7 @@ namespace Spectre.Console
|
|||||||
public static partial class Emoji
|
public static partial class Emoji
|
||||||
{
|
{
|
||||||
private static readonly Dictionary<string, string> _emojis
|
private static readonly Dictionary<string, string> _emojis
|
||||||
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
|
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
|
||||||
{
|
{
|
||||||
{{~ for emoji in emojis ~}}
|
{{~ for emoji in emojis ~}}
|
||||||
{ "{{ emoji.identifier }}", Emoji.Known.{{ emoji.name }} },
|
{ "{{ emoji.identifier }}", Emoji.Known.{{ emoji.name }} },
|
||||||
|
@ -18,7 +18,7 @@ namespace Spectre.Console
|
|||||||
public static partial class Emoji
|
public static partial class Emoji
|
||||||
{
|
{
|
||||||
private static readonly Dictionary<string, string> _emojis
|
private static readonly Dictionary<string, string> _emojis
|
||||||
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
|
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
|
||||||
{
|
{
|
||||||
{ "abacus", Emoji.Known.Abacus },
|
{ "abacus", Emoji.Known.Abacus },
|
||||||
{ "ab_button_blood_type", Emoji.Known.AbButtonBloodType },
|
{ "ab_button_blood_type", Emoji.Known.AbButtonBloodType },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user