alecthomas / alecthomas/participle

Improve performance

オープン
#103 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
3.9k
フォーク
213
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm now largely happy with the design and implementation of Participle, so it's time to start thinking about performance.

```
$ go test -v -bench=. ./
goos: darwin
goarch: amd64
pkg: github.com/alecthomas/participle/_examples/µc
BenchmarkParser
BenchmarkParser-12 163 7393469 ns/op 674820 B/s 5350378 B/op 83749 allocs/op
PASS
ok github.com/alecthomas/participle/_examples/µc 1.958s
```

The parser generates a *lot* of garbage now, and throughput is not great.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。