[interfacekit] Re: BString patch suggestion and some questions, too

> How about having a hashed string table as storage in the background, so 
> that equal strings will only be stored once? (not for R1, for sure)

It's strange that you say this.... since _BWidthBuffer_ (a support class for 
BTextView, used also by OpenTracker) does a similar things for the string 
widths. Not that we have yet a working implementation (hint, hint :)))

Anyway, yes, it's an interesting idea. Or we could even use a refcounting 
method (which could have some issues due to the multithreaded nature of BeOS, 
though), or... I guess we'll have to do some tests to see how those solutions 
perform in different situations... it's definitely for >R1 :P




Other related posts: