Skip to content

Commit

Permalink
Merge pull request #1691 from phil-scott-78/emoji-perf
Browse files Browse the repository at this point in the history
  • Loading branch information
patriksvensson authored Nov 20, 2024
2 parents aa9e5c4 + 69689d2 commit be45494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Spectre.Console
public static partial class Emoji
{
private static readonly Dictionary<string, string> _emojis
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{{~ for emoji in emojis ~}}
{ "{{ emoji.identifier }}", Emoji.Known.{{ emoji.name }} },
Expand Down
2 changes: 1 addition & 1 deletion src/Spectre.Console/Emoji.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Spectre.Console
public static partial class Emoji
{
private static readonly Dictionary<string, string> _emojis
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase)
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
{ "abacus", Emoji.Known.Abacus },
{ "ab_button_blood_type", Emoji.Known.AbButtonBloodType },
Expand Down

0 comments on commit be45494

Please sign in to comment.