Re: MARC reporting engine

From: Kyle Banerjee <kyle.banerjee_at_nyob>
Date: Mon, 3 Nov 2014 05:42:11 -0800
To: CODE4LIB_at_LISTSERV.ND.EDU
On Sun, Nov 2, 2014 at 6:29 PM, Stuart Yeates <stuart.yeates_at_vuw.ac.nz>
wrote:

> Do any of these have built-in indexing? 800k records isn't going to fit in
> memory and if building my own MARC indexer is 'relatively straightforward'
> then you're a better coder than I am.
>
>
Unless I'm missing something, this task is easier than it sounds. Since you
are interested in only a small part of the record, the memory requirements
are quite modest so you can absolutely fit it all into memory while
processing the file one line at a time. If I understand your problem
correctly, a hash of arrays or objects would make short work of this.

One handy programming reference for people who need syntax for a variety of
commonly used tasks (i.e. practically everything you would normally need)
in more than 30 languages is PLEAC (Programming Language Examples Alike
Cookbook) http://pleac.sourceforge.net/

kyle
Received on Mon Nov 03 2014 - 08:43:01 EST