From: Richard W.M. Jones Date: Wed, 30 Jul 2014 20:02:02 +0000 (+0000) Subject: Stop using allocation trick in fastpath functions (OCaml 4.02). X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=sidebyside;h=5997a66d9b078d75f821eedc9ba615c9df321e98;hp=5997a66d9b078d75f821eedc9ba615c9df321e98;p=ocaml-bitstring.git Stop using allocation trick in fastpath functions (OCaml 4.02). In OCaml 4.02, there is a new compiler optimization which means we can no longer rely on the trick of passing in a newly allocated `zero' (ie. Int32.zero or Int64.zero) to our fastpath noalloc functions. Instead we have to turn these into regular functions, which means they may be a bit slower. ---