projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
82bd61a
)
There is no need to clear TT at allocation time
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 11 Jul 2010 08:42:04 +0000 (09:42 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 11 Jul 2010 08:42:04 +0000 (09:42 +0100)
Operator new() already returns a zeroed memory.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/tt.cpp
patch
|
blob
|
history
diff --git
a/src/tt.cpp
b/src/tt.cpp
index
57dd007
..
00ecfb6
100644
(file)
--- a/
src/tt.cpp
+++ b/
src/tt.cpp
@@
-72,7
+72,6
@@
void TranspositionTable::set_size(size_t mbSize) {
<< " MB for transposition table." << std::endl;
Application::exit_with_failure();
}
- clear();
}
}