File:  [NeXTSTEP 3.3 examples] / Examples / IndexingKit / BlockSizer / README.rtf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:02 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

{\rtf0\ansi{\fonttbl\f3\fswiss Helvetica;\f0\fnil Times-Roman;\f2\fmodern Ohlfs;}
\paperw10800
\paperh12260
\margl120
\margr100
{\colortbl;\red0\green0\blue0;}
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b\i0\ulnone\fs36\fc0\cf0 BlockSizer
\b0\fs24 \
by Jack Greenfield, NeXT Engineering\
\

\b\fs28 Overview
\b0\fs24 \
\
This example demonstrates different usages of the IXStoreFile class of the Indexing Kit such as store compaction, abort,  allocation and block resizing. In particular, it shows the level of efficiency for different combinations (block size, number of blocks, etc.). It allows the user to experiment with different store sizes before implementing a real program.  \

\fc1\cf1 \

\b\fs28 Program Organization
\b0\fs24 \
\

\b Major Classes in the Application
\b0 \
 \

\pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 Controller	The heart of the functionality of the program.  A subclass of Object. It essentially manages the IXStoreFile instance with operations such as commit, compaction, allocation/free etc.
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1  \

\pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1  
\pard\tx560\tx1120\tx2060\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fi-2060\li2060\fc1\cf1 \

\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fc1\cf1 Other Peculiarities
\b0 \

\pard\tx560\tx1120\tx2060\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fi-2060\li2060\fc1\cf1 You need to add
\b  libIndexing_s.a
\b0  into the Libraries folder of PB.project .\

\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \

\b\fs28 Topics Of Interest\

\b0\fs24 \

\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\b\fc1\cf1 How to step through the execution of the IXStoreFile creation\

\b0 This is done in the Controller class, with the method ping:sender. Note that if you can remove the perform:with:afterDelay:cancelPrevious: to speed up the execution.\

\f0\fs28 \

\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\fs24\fc1\cf1 \

\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc1\cf1 Valid for 3.1/3.2\
\

\b\fs28 Change History 
\b0\fs24 \
\
\
01/Sept/93	Created example for Release 3.2.
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.