Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Database Access > Sorting Large DBM Files

Recipe 14.5. Sorting Large DBM Files

14.5.1. Problem

You want to process a large dataset you'd like to commit to a DBM file in a particular order.

14.5.2. Solution

Use the DB_File's B-tree bindings and supply a comparison function of your own devising:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint