Skip to content

Instantly share code, notes, and snippets.

View Electroid's full-sized avatar

Ashcon Partovi Electroid

  • San Francisco
  • 09:19 (UTC -07:00)
View GitHub Profile

Primer on the New Filter System

Filters are have results they will return: ALLOW, DENY, and ABSTAIN.

  • ALLOW means that the filter specifically allows the query
  • DENY means that the filter specifically denies the query
  • ABSTAIN means none of the filters queried have any opinion on the subject. Abstain is usually interpreted as ALLOW when casting to a single boolean.

Most consumers of filters will cast the query result to a boolean, where ALLOW and ABSTAIN are both interpreted as ALLOW.

@d4l3k
d4l3k / about.md
Last active February 16, 2023 10:56
Golang Performance Tricks

This is a gist with a set of helpful performance tricks and best practices that I've found on the internet.