cfg

package
v0.0.0-...-9dcd13a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CostFnCallBase - base function call cost.
	CostFnCallBase = 3

	// CostThrowFuncPenalty increases call cost of throwing
	// function by specified amount of points.
	CostThrowFuncPenalty = 4
)

Options that affect sexp.Cost() return values.

View Source
const (
	// InlineFilter - maximum inline candidate "raw" budget.
	// This filter is applied before all optimizations.
	// Used to reduce number of potentially inlineable functions.
	InlineFilter = 28

	// InlineBudget - upper budget limit for inlining candidates.
	InlineBudget = 11
)

Inliner configuration.

View Source
const (
	// ClUnrollHardLimit - upper limit for loop unrolling.
	ClUnrollHardLimit = 256
)

Compiler configuration.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL