Hi Duncan,

Duncan Coutts schrieb:
I was wondering what the need for ensureBufferSize is? Could this by
automated? I would have thought that we could just check this when
writing out a single instruction.

Yes, of course, this would be possible. The only reason is a performance improvement when checking for buffer overflows as seldom as possible. We use Harpy in a just-in-time compilation project for a functional language, an my colleague wants to do this as fast as possible. But one could argue that in a functional language library interface elegance is more important...

Kind regards,
  Dirk

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to