func (b *MemoryBackend) GetSignatureScores() map[Signature]float64 {
	b.mu.RLock()
	scores := make(map[Signature]float64, len(b.scores))
	for signature, score := range b.scores {
		scores[signature] = score / b.countScaleFactor
	}
	b.mu.RUnlock()

	return scores
}
// GetSignatureScores returns the scores for all signatures.
// It is normalized to represent a number of signatures per second.
GetSignatureScores returns the scores for all signatures.
It is normalized to represent a number of signatures per second.
// GetSignatureScores returns the scores for all signatures . // It is normalized to represent a number of signatures per second .
func (b *MemoryBackend) GetSignatureScores() map[Signature]float64 {
	b.mu.RLock()
	scores := make(map[Signature]float64, len(b.scores))
	for signature, score := range b.scores {
		scores[signature] = score / b.countScaleFactor
	}
	b.mu.RUnlock()
	return scores
}
func ( b * MemoryBackend ) GetSignatureScores ( ) map [ Signature ] float64 { b . mu . RLock ( ) scores := make ( map [ Signature ] float64 , len ( b . scores ) ) for signature , score := range b . scores { scores [ signature ] = score / b . countScaleFactor } b . mu . RUnlock ( ) return scores }
GetSignatureScores returns the scores for all signatures.
GetSignatureScores returns the scores for all signatures .