I am doing something like:
FIELDS = %w(size data data_string ...).map {|c| Sequel.qualify(:second_table,
c) } # FIELDS have about 50 entries
fields = SecondTable.select(Sequel.function(:array_agg, Sequel.pg_row(FIELDS)))
MainTable.select_append(Sequel.as(fields, :all_fields))
This yield to a fast SQL query (50ms for the query), but sequel seems to
introduce a lot of overhead (about 300ms) to parse the result.
Most of the time is spent in: Sequel::Postgres::PGRow::Splitter#parse (80%)
I am wondering if I can do something about it or not.
Thanks
--
Nicolas Goy
Programmer
http://kuon.goyman.com
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.