aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-09-24 23:22:49 -0400
committerRapptz <[email protected]>2018-09-24 23:22:49 -0400
commit27216892547bb073777056379d549a6dc42872cb (patch)
tree18d1eded01727f64c93e31d23cb68201de16c832 /docs
parentOptimise some member and user related routines. (diff)
downloaddiscord.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')
0 files changed, 0 insertions, 0 deletions