Message: Memory management in hits Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Memory management in hits 

Forum: Hits, Digitization and Pileup
Date: 21 Mar, 2003
From: <vincenzo.innocente@cern.ch>

I'm quite confused about the rational behind memory management in digis+hits
I see classes using G4Allocator and at the same time std::vector<T*>
whose whould then use the std default allocator.
what is the advantange to store a void* using G4Allocator and
a bunch of pointers to T using std allocator?

       cheers,
           vincenzo

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Memory management in hits"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]