Sfoglia il codice sorgente

speed order clarification (comment change)

Darren Ranalli 21 anni fa
parent
commit
f9c4643c93
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      panda/src/express/patchfile.cxx

+ 2 - 2
panda/src/express/patchfile.cxx

@@ -786,8 +786,8 @@ emit_COPY(ofstream &write_stream, PN_uint16 length, PN_uint32 COPY_pos,
 //               "Differential Compression: A Generalized Solution
 //               for Binary Files" by Randal C. Burns (p.13).
 //               For an original file of size M and a new file of
-//               size N, this algorithm is O(M) in space and O(M*N)
-//               in time.
+//               size N, this algorithm is O(M) in space and
+//               O(M*N) (worst-case) in time.
 ////////////////////////////////////////////////////////////////////
 bool Patchfile::
 build(Filename file_orig, Filename file_new, Filename patch_name) {