summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2022-07-29 11:06:17 -0700
committerTim Burke <tim.burke@gmail.com>2022-07-29 11:06:21 -0700
commit38866a396310a3cebcdc92b8e82b77aed5098be1 (patch)
treef201ef55cff6aa7b7fc7ad3e309cb748e7f39e3c /doc
parent9b0e5ea9757a1a96c7207334cd80e3309fc6a7f6 (diff)
downloadswift-38866a396310a3cebcdc92b8e82b77aed5098be1.tar.gz
Optimize ShardRanges a little
We make a lot of ShardRange objects, pretty much all the time. Try to make it a little better: * Add __slots__ to improve memory consumption and attribute lookups. * Avoid the overhead of catch_warnings() by not tripping the warning. Change-Id: Ib1c698be9e9f579649bc81acf3562c92feb6c8d3
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions