Revert prior attempted optimisation. Gridding the land pays in some situations, but not all. Restricting to an upper bound might help, but overall, seems too fuzzy to be worth it. On one side is increased cost of Add/Delete + extra test on collision check, on the other is skipping the list iteration. Perhaps for large lists.
/*
* Copyright (C) 2008 Remko Troncon
*/
#ifndef COCOAINITIALIZER_H
#define COCOAINITIALIZER_H
class CocoaInitializer
{
public:
CocoaInitializer();
~CocoaInitializer();
private:
class Private;
Private* d;
Private* c;
};
#endif