<commit_before>﻿// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.

using System.Numerics;

namespace SixLabors.Fonts.Tables.General.Glyphs
{
    internal struct GlyphVector
    {
        internal GlyphVector(Vector2[] controlPoints, bool[] onCurves, ushort[] endPoints, Bounds bounds)
        {
            this.ControlPoints = controlPoints;
            this.OnCurves = onCurves;
            this.EndPoints = endPoints;
            this.Bounds = bounds;
        }

        public int PointCount => this.ControlPoints.Length;

        public Vector2[] ControlPoints { get; private set; }

        public ushort[] EndPoints { get; private set; }

        public bool[] OnCurves { get; private set; }

        public Bounds Bounds { get; private set; }
    }
}<commit_msg>Make GlyphVector a readonly struct<commit_after>﻿// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.

using System.Numerics;

namespace SixLabors.Fonts.Tables.General.Glyphs
{
    internal readonly struct GlyphVector
    {
        internal GlyphVector(Vector2[] controlPoints, bool[] onCurves, ushort[] endPoints, Bounds bounds)
        {
            this.ControlPoints = controlPoints;
            this.OnCurves = onCurves;
            this.EndPoints = endPoints;
            this.Bounds = bounds;
        }

        public int PointCount => this.ControlPoints.Length;

        public Vector2[] ControlPoints { get; }

        public ushort[] EndPoints { get; }

        public bool[] OnCurves { get; }

        public Bounds Bounds { get; }
    }
}
{'fraction_non_alphanumeric': 0.09476309226932668, 'fraction_numerical': 0.004987531172069825, 'mean_word_length': 2.459051724137931, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '933372', 'n_tokens_mistral': 462, 'n_tokens_neox': 444, 'n_words': 127}