[Mondrian] RE: Mondrian mp factory classes

Julian Hyde jhyde at pentaho.com
Thu Jul 16 15:47:17 EDT 2009


> Eric wrote:
> 
> Since the member is now passed as an argument to the create() 
> factory  
> method, my intent was to default to Flat3Map only where  
> member.getProperties().length < 4, and stick with a HashMap for  
> anything larger.  That will avoid the extra overhead of 
> Flat3Map when  
> there are more than three entries, and should give results 
> equivalent  
> to what we have now.

Ah, not so. We may put properties into the map that are not explicitly
declared as member properties.

> I'll do the experiment anyway, though.

Julian





More information about the Mondrian mailing list