Re: Fwd: Cocoa IDE v1 project
Glen Foy <[email protected]>
| Newsgroups | gmane.lisp.mcl.general |
|---|---|
| Message-ID | <[email protected]> |
Sounds like you have it covered. Can't wait! On Feb 19, 2009, at 6:24 PM, Gail Zacharias wrote: > At 2/19/2009 03:39 PM, Glen Foy wrote: >> On Feb 19, 2009, at 2:58 PM, Gail Zacharias wrote: >>> It's slated for the Cocoa IDE v1 project, which will be taking place >>> over the coming two to three months. (Not the :image extension >>> idea, but the current proposal). >> >> The proposed font support looks good, but I'm wondering if plists >> will >> be fast enough. >> >> As I'm sure you know, MCL support both human-readable font-specs and >> numeric font-codes. The font-specs are interpreted and relatively >> slow. > > I did consider this and have a plan: if parsing the charprop args > turns out to be a performance problem, we can export a PARSE- > CHARPROPS function that will take any of the allowed representations > and return something predigested that can then be used more > efficiently, with no changes to the rest of the API. However, my > hope (and expectation) is this won't be necessary, and whatever > caching is needed can be done internally without requiring user code > to explicitly manage it. > > FWIW, in MCL this was a case of a self-fulfilling prophesy: since > the font-codes were designed in from the very beginning, the > expectation was that they'd be used, instead of font-specs, when > performance mattered, and hence no effort was made to make font-spec > handling efficient, so it isn't. _______________________________________________ info-mcl mailing list [email protected] http://clozure.com/mailman/listinfo/info-mcl