Merge: String hash function fix
authorJean Privat <jean@pryen.org>
Tue, 13 May 2014 21:12:03 +0000 (17:12 -0400)
committerJean Privat <jean@pryen.org>
Tue, 13 May 2014 21:12:03 +0000 (17:12 -0400)
The generic implementation for hash on Text was not compliant with the optimized version for Strings, however no test was able to catch it since we've never used Buffer and String at the same time in a Hash structure.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

Pull-Request: #455
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>


Trivial merge