diff options
Diffstat (limited to 'Documentation')
-rwxr-xr-x | Documentation/mknews.perl | 4 | ||||
-rw-r--r-- | Documentation/technical/data_structures.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index d803ca77..adb83832 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -103,7 +103,7 @@ sub mime2txt { sub mime2html { my ($out, $mime, $ctx) = @_; - my $smsg = bless { mime => $mime }, 'PublicInbox::SearchMsg'; + my $smsg = bless { mime => $mime }, 'PublicInbox::Smsg'; print $out PublicInbox::View::index_entry($smsg, $ctx, 1) or die; } @@ -147,7 +147,7 @@ EOF sub mime2atom { my ($out, $astream, $mime, $ctx) = @_; - my $smsg = bless { mime => $mime }, 'PublicInbox::SearchMsg'; + my $smsg = bless { mime => $mime }, 'PublicInbox::Smsg'; if (defined(my $str = $astream->feed_entry($smsg))) { print $out $str or die; } diff --git a/Documentation/technical/data_structures.txt b/Documentation/technical/data_structures.txt index 4de83a77..08dfc7ac 100644 --- a/Documentation/technical/data_structures.txt +++ b/Documentation/technical/data_structures.txt @@ -47,7 +47,7 @@ Per-message classes Our PublicInbox::V2Writable class may have two objects of this type in memory at-a-time for deduplication. -* PublicInbox::SearchMsg - small message skeleton +* PublicInbox::Smsg - small message skeleton Used by: PublicInbox::{NNTP,WWW,SearchIdx} Common abbreviation: $smsg @@ -69,7 +69,7 @@ Per-message classes JWZ's algorithm: <https://www.jwz.org/doc/threading.html>. This holds a $smsg and is only used for message threading. This wrapper class may go away in the future and handled - directly by PublicInbox::SearchMsg to save memory. + directly by PublicInbox::Smsg to save memory. As with $smsg objects, there may be hundreds or thousands of these objects in memory at-a-time. |