<commit_before>using System;

namespace Maestro.Internals
{
	internal struct ServiceRequest
	{
		public ServiceRequest(Type type, string name)
		{
			Type = type;
			Name = name;
		}

		public Type Type { get; }
		public string Name { get; }

		public bool Equals(ServiceRequest other)
		{
			return Type == other.Type && string.Equals(Name, other.Name);
		}

		public override bool Equals(object obj)
		{
			if (ReferenceEquals(null, obj)) return false;
			return obj is ServiceRequest && Equals((ServiceRequest)obj);
		}

		public override int GetHashCode()<commit_msg>ServiceRequest.Equals perf improvement<commit_after>using System;

namespace Maestro.Internals
{
	internal struct ServiceRequest
	{
		public ServiceRequest(Type type, string name)
		{
			Type = type;
			Name = name;
		}

		public Type Type { get; }
		public string Name { get; }

		public bool Equals(ServiceRequest other)
		{
			return Type == other.Type && string.Equals(Name, other.Name);
		}

		public override bool Equals(object obj)
		{
			return obj is ServiceRequest && Equals((ServiceRequest)obj);
		}

		public override int GetHashCode()
{'fraction_non_alphanumeric': 0.09570661896243292, 'fraction_numerical': 0.0, 'mean_word_length': 3.8232758620689653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2548952', 'n_tokens_mistral': 382, 'n_tokens_neox': 333, 'n_words': 100}