Fix grammar error in docs (#477)

"You should avoid $foo, in order to instantiate frozen slotted classes..."
This commit is contained in:
jimbo1qaz 2018-12-23 22:07:00 -08:00 committed by Hynek Schlawack
parent 55642b3343
commit deb90f9b6f
1 changed files with 1 additions and 1 deletions

View File

@ -95,6 +95,6 @@ Pick what's more important to you.
Summary
+++++++
You should avoid to instantiate lots of frozen slotted classes (i.e. ``@attr.s(slots=True, frozen=True)``) in performance-critical code.
You should avoid instantiating lots of frozen slotted classes (i.e. ``@attr.s(slots=True, frozen=True)``) in performance-critical code.
Frozen dict classes have barely a performance impact, unfrozen slotted classes are even *faster* than unfrozen dict classes (i.e. regular classes).