Skip to content

Some functions are not used in HeaderSchema.cs #2069

@wschin

Description

@wschin

As title. In class

    [BestFriend]
    internal abstract class FeatureNameCollection : IEnumerable<string>

those functions

        private FeatureNameCollection()
        {
        }

        public static FeatureNameCollection Create(string[] names)
        {
            return Create(Utils.Size(names), names);
        }

        public static FeatureNameCollection Create(RoleMappedSchema schema)
        {
            …
        }

        public static void Save(ModelSaveContext ctx, in VBuffer<ReadOnlyMemory<char>> names)
        {
            …
        }

        public bool TryLookup(string name, out int index)
        {
            …
        }     

are not used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Doc bugs, questions, minor issues, etc.code-sanitationCode consistency, maintainability, and best practices, moreso than any public API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions