Implement a hash_map and swap gss over to use it, making self-compilation 10 seconds faster on my laptop. captain.sh has been extended with the ability to bootstrap over any number of git commits.
This commit is contained in:
@@ -95,8 +95,8 @@ obj pair<T,U> (Object, Serializable, Hashable) {
|
||||
return second_pair.second
|
||||
}
|
||||
|
||||
/*fun hash():int return hash(first) ^ hash(second)*/
|
||||
fun hash():int return 0
|
||||
fun hash():int return hash(first) ^ hash(second)
|
||||
/*fun hash():int return 0*/
|
||||
|
||||
// the old unnecessary template to prevent generation
|
||||
// if not used trick (in this case, changing out U with V)
|
||||
|
||||
Reference in New Issue
Block a user