diff options
| author | Rapptz <[email protected]> | 2018-09-24 23:22:49 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-09-24 23:22:49 -0400 |
| commit | 27216892547bb073777056379d549a6dc42872cb (patch) | |
| tree | 18d1eded01727f64c93e31d23cb68201de16c832 /docs/conf.py | |
| parent | Optimise some member and user related routines. (diff) | |
| download | discord.py-27216892547bb073777056379d549a6dc42872cb.tar.xz discord.py-27216892547bb073777056379d549a6dc42872cb.zip | |
Optimise tight loops in DiscordGateway.received_message
* type(x) is y is faster than isinstance(x, y)
* Re-arrange if-statements for common statements
* Drop handler getattr for most events that don't use it
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions