It is well known that date parsing is slow. ActiveRecord tries to deal with it by speadup common db format https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/column.rb#L204 (but it doesn't handle timezone)
Sequel suffers from date parsing slowness when it is not provided by adaptors. Currently such adaptors are `postgres`, `sqlite` and `mysql` (not `mysql2` I believe). (one could use `sequel_pg` to speedup postgres adapter). I propose to include speedup of timestamp parsing into sequel core or into sequel extension. It really helps with sqlite3 and postgres, not tested with mysql. Simple monkey patch against sequel with benchmark is here https://gist.github.com/871634 Or it could just override Time.parse as here https://gist.github.com/874002 What do you think about? -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
