<commit_before>// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package secp256k1fx

import (
	"errors"
	"fmt"

	"github.com/ava-labs/avalanchego/cache"
	"github.com/ava-labs/avalanchego/utils/crypto"
	"github.com/ava-labs/avalanchego/utils/hashing"
	"github.com/ava-labs/avalanchego/utils/wrappers"
	"github.com/ava-labs/avalanchego/vms/components/verify"
)

const (
	defaultCacheSize = 2048
)

var (
	errWrongVMType                    = errors.New("wrong vm type")
	errWrongTxType                    = errors.New("wrong tx type")
	errWrongOpType                    = errors.New("wrong operation type")<commit_msg>reduce secp factory cache size<commit_after>// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package secp256k1fx

import (
	"errors"
	"fmt"

	"github.com/ava-labs/avalanchego/cache"
	"github.com/ava-labs/avalanchego/utils/crypto"
	"github.com/ava-labs/avalanchego/utils/hashing"
	"github.com/ava-labs/avalanchego/utils/wrappers"
	"github.com/ava-labs/avalanchego/vms/components/verify"
)

const (
	defaultCacheSize = 256
)

var (
	errWrongVMType                    = errors.New("wrong vm type")
	errWrongTxType                    = errors.New("wrong tx type")
	errWrongOpType                    = errors.New("wrong operation type")
{'fraction_non_alphanumeric': 0.12314540059347182, 'fraction_numerical': 0.022997032640949554, 'mean_word_length': 3.026865671641791, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '772911', 'n_tokens_mistral': 513, 'n_tokens_neox': 472, 'n_words': 87}