Go to the first, previous, next, last section, table of contents.


makePlain

Function: makePlain
file: job.t
package: muf
status: alpha

The makePlain function creates and returns an instance of Class Plain, which represents the simplest kind of built-in class, unspecialized to any particular purpose.

Since Class Plain has no specialized functionality, there is little reason to create an instance of it: Class Plain and the primitive makePlain are included mostly for completeness.

Class Plain, like the other built-in classes, can be used to store key-val pairs much as can Index: The trade-off is that Plain objects do not have four slots pre-allocated to hold the btrees, but finding the associated btrees (if any) requires an additional btree lookup to find the btree itself. Thus, if you need to create many objects which can be used to store key-val pairs, but very few of which actually do so, you might conceivably wish to use Plain rather than Index objects to save a little space.

See section makeIndex.


Go to the first, previous, next, last section, table of contents.