From 557a90865fa8a61461e0d11c04b7d4962aa0cec6 Mon Sep 17 00:00:00 2001 From: kowal2 Date: Wed, 20 Dec 2000 09:36:46 +0000 Subject: [PATCH] Improvements in algorithms to make the code faster --- CONTAINERS/AliDigits.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTAINERS/AliDigits.cxx b/CONTAINERS/AliDigits.cxx index c4975916993..f06261206be 100644 --- a/CONTAINERS/AliDigits.cxx +++ b/CONTAINERS/AliDigits.cxx @@ -16,6 +16,9 @@ /* $Log$ +Revision 1.1 2000/11/01 15:57:13 kowal2 +Moved from the TPC directory + Revision 1.4 2000/10/05 16:01:49 kowal2 Corrected for memory leaks. @@ -350,6 +353,7 @@ void AliDigits::ExpandBuffer1() Int_t i,k; fNelems = fNrows*fNcols; Short_t * buf = new Short_t[fNelems]; + memset(buf,0,fNelems*sizeof(Short_t)); //MI change - 4.12.2000 fIndex->Set(fNcols); for (i =0,k=0 ;i