I'm assuming that image names that are of exactly the same number of characters have mostly the same characters. Otherwise I can't use the caching and have to trim each name to length which is too slow.
Also I assume that large image counts will have many image names of the same length. I also only do this truncation when the resizing of the left column stops (not during drag) so it doesn't happen too often.