in reply to Fast Building of SQL Statements

When you first mention using x, you have join(',', '?' x @FIELDS).

In your posted benchmark code, the join ',' is omitted.

Replies are listed 'Best First'.
Re: Re: Fast Building of SQL Statements
by hardburn (Abbot) on Aug 27, 2003 at 20:45 UTC

    Doesn't matter. The join in the code near the start is an example of placing the generated data into an SQL statement. join would run at the exact same rate (ignoring system noise) for the benchmarks, so there's no reason to have it in.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    Note: All code is untested, unless otherwise stated