Skip to content

Binary attribute encoding #18

Open

Description

@hayesall

There's a choice when working with binary attributes:

% (1)
has_feature(object1,0).
has_feature(object2,1).

vs.

% (2)
has_feature(object2).

I usually prefer (2)

Activity

  1. hayesall commented on Dec 12, 2021

    @hayesall
    MemberAuthor

    Now that #20 is merged in, it would be possible to test with both.

    I think there might be cases where (1) would actually perform worse than (2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions