#2226 assigned defect

add doc about literal caps in performance.rst

Reported by: zooko Owned by: marlowe
Priority: normal Milestone: undecided
Component: documentation Version: 1.10.0
Keywords: docs performance lit Cc:
Launchpad Bug:

Description

The description of the performance costs of immutables in docs/performance.rst neglects the "literal caps" optimization. Fix that, and close this ticket!

Change History (3)

comment:1 follow-up: Changed at 2014-04-20T20:36:11Z by daira

I don't think the literal optimization changes any asymptotic costs, does it?

comment:2 in reply to: ↑ 1 Changed at 2014-04-21T06:16:20Z by zooko

Replying to daira:

I don't think the literal optimization changes any asymptotic costs, does it?

I think of docs/performance.rst as supposed to tell you "What you need to know" about performance, not only the asymptotic costs. My attempt at answering that assumed that the asymptotic costs were often "What you need to know", but sometimes you need to know more.

Oh, and actually the literal optimization totally *does* change the asymptotic costs of some things. For example, the cost in network usage to upload N files of 200 bytes each is O(N) network usage. The cost to upload N files of 55 bytes each is zero network usage.

comment:3 Changed at 2016-05-06T16:41:37Z by marlowe

  • Status changed from new to assigned

Follow up with Brian on exact verbiage.

Note: See TracTickets for help on using tickets.