mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Replaced large_enum_variant explanation with link to issue #800
This commit is contained in:
parent
fbcde5dd9e
commit
b085469602
21 changed files with 21 additions and 200 deletions
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod link;
|
pub mod link;
|
||||||
pub mod program;
|
pub mod program;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod bitcode;
|
pub mod bitcode;
|
||||||
pub mod std;
|
pub mod std;
|
||||||
|
|
|
@ -83,6 +83,7 @@ enum PendingDef<'a> {
|
||||||
InvalidAlias,
|
InvalidAlias,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
#[derive(Clone, Debug, PartialEq)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
#[allow(clippy::large_enum_variant)]
|
#[allow(clippy::large_enum_variant)]
|
||||||
pub enum Declaration {
|
pub enum Declaration {
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod annotation;
|
pub mod annotation;
|
||||||
pub mod builtins;
|
pub mod builtins;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod all;
|
pub mod all;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod builtins;
|
pub mod builtins;
|
||||||
pub mod expr;
|
pub mod expr;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod annotation;
|
pub mod annotation;
|
||||||
pub mod def;
|
pub mod def;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod llvm;
|
pub mod llvm;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
use bumpalo::{collections::Vec, Bump};
|
use bumpalo::{collections::Vec, Bump};
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod docs;
|
pub mod docs;
|
||||||
pub mod effect_module;
|
pub mod effect_module;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod ident;
|
pub mod ident;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod borrow;
|
pub mod borrow;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
|
@ -1,13 +1,4 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod can;
|
pub mod can;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod all;
|
pub mod all;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod module;
|
pub mod module;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
pub mod boolean_algebra;
|
pub mod boolean_algebra;
|
||||||
pub mod builtin_aliases;
|
pub mod builtin_aliases;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub mod unify;
|
pub mod unify;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
pub use roc_can::expr::Expr::*;
|
pub use roc_can::expr::Expr::*;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#![warn(clippy::all, clippy::dbg_macro)]
|
#![warn(clippy::all, clippy::dbg_macro)]
|
||||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
// See github.com/rtfeldman/roc/issues/800 for discussion of the large_enum_variant check.
|
||||||
//
|
|
||||||
// It warns about a performance problem where the only quick remediation is
|
|
||||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
|
||||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
|
||||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
|
||||||
//
|
|
||||||
// Effectively optimizing data structure memory layout isn't a quick fix,
|
|
||||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
|
||||||
// re-enable this when working on performance optimizations than have it block PRs.
|
|
||||||
#![allow(clippy::large_enum_variant)]
|
#![allow(clippy::large_enum_variant)]
|
||||||
|
|
||||||
// Inspired by:
|
// Inspired by:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue