Question about Multi-Field Indexes

Fairlight fairlite at fairlite.com
Tue Aug 31 21:29:48 PDT 2010


Thanks for the feedback, John and Scott.

And John, I -hardly- know this stuff better than you, or I wouldn't have
had to ask what must seem like a pretty novice question.  I'm really rusty,
although my brain has warmed back up to fP quite suddenly.  I just rarely
used compound indexes in fP, so I had to make sure what I was doing.

FWIW, I'd say it's more efficient to directly use an object.  There are
certainly less opcodes and memory management involved in doing so than
in allocating space for an uncast dummy, shifting the contents into that
address space, etc., and -then- doing the comparison.  However, CPU cycles
are a zillion a penny these days, and the clarity of dealing with one
explicit object is worth a few extra (cheap, on today's hardware) opcodes
and a miniscule bit of RAM.

Now perl...if it were in perl, I'd know it better than you!  ;)

Thank you both again for clearing up my question of the night!

mark->
-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list