DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11028>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11028 [PATCH] HSSFColor to use instanciations rather than seperate classes ------- Additional Comments From [EMAIL PROTECTED] 2002-07-24 22:46 ------- I think that with the current aproach that there is a point when the number of colors that have been created will exceed the memory usage of this approach. Look at it this way, say there are 20 default pallete colors, with the current approach there are 20 classes that represent those colors. If i only want to use 10 colors then the class loader needs to load those 10 classes and then instanciate those classes. If I want to use all 20 colors then there are 20 classes plus 20 objects to create. Which uses more memory here the class loading or the instanciation of the classes? Is it better to load one class and instanciate 20 objects. To be honest I dont know. At the end of the day I dont mind if the old scheme is kept. I see the reason behind it, Andy wanted to keep the memory usage down , which IMHO is *very* important. Yes I agree the solution should support the custom palletes. As such I am happy to leave this area as is for a while until the custom palletes code is worked on. No I do not own the excel developers kit which is probably why i havent got my feet wet in the lower level structures. Having said that I did try and find how to add a custom cell background color to cell in excel just to see the number of records involved. But i couldnt even find how to allocate a custom color in excel 97 !!! Its probably right in front of me but how do you do it? Jason -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
