opts

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxInlineDepth  = parseOrDefault("FRUGAL_MAX_INLINE_DEPTH", _DefaultMaxInlineDepth, 1)
	MaxInlineILSize = parseOrDefault("FRUGAL_MAX_INLINE_IL_SIZE", _DefaultMaxInlineILSize, 256)
)

Functions

This section is empty.

Types

type Options

type Options struct {
	MaxInlineDepth   int
	MaxInlineILSize  int
	MaxPretouchDepth int
}

func GetDefaultOptions

func GetDefaultOptions() Options

func (*Options) CanInline

func (self *Options) CanInline(sp int, pc int) bool

func (*Options) CanPretouch

func (self *Options) CanPretouch(d int) bool

Jump to

Keyboard shortcuts

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