
6 Apr
2010
6 Apr
'10
12:01 a.m.
On 4 April 2010 11:09, Scott McMurray <me22.ca+boost@gmail.com> wrote:
2) The hash() function is const, and copies the accumulator, then pads and length-appends the copied version, getting the hash from there instead. That gives perhaps the nicest interface, but the extra copying would be somewhat expensive.
I prefer this interface. This is the same as Boost.CRC (and heck, std::string::c_str() for that matter). If you still wish to provide a faster but destructive one, just use another function. -- Nevin Liber <mailto:nevin@eviloverlord.com> (847) 691-1404