DBAL-131: Remove Static Types #1267

Open
doctrinebot opened this Issue Jun 19, 2011 · 0 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

the static types should be removed and made to instances of types that can differ between platforms.

Following reasons:

  1. Some vendors already convert values to PHP types, for example integers. Not converting again could save about 15% wall-time for integers for example.
  2. Some vendors require different type code, this is currently handled by expensive if checks.
  3. If you want to change a type for one vendor but also use another vendor in the same request, then you have a problem currently.
  4. If types were platform aware then we could make registering custom types simpler.
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.6 milestone Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment