Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2013-December/006803.html Name: Graphics-nice.282 Ancestors: Graphics-nice.281 1) Fix initialization of a Form bits. the guard against wrong bitsSize were never invoked on new instances. 2) Accelerate a bit Color>>pixelValueForDepth:, 2.a) Most frequent usage nowadays is for 32 bits depth, so raise this case to the top. 2.b) the guard against rgb=0 being used for marking transparent can be factored out (Note that Squeak was not the only app. to use this trick, like explained at http://en.wikipedia.org/wiki/Palette_%28computing%29#Transparent_color_in_palettes) 2.c) The (LargeInteger new: 4) trick is now more straightforward thanks to 2.b) Note 1: the normalize could be replaced by yourself in 32 bits images, but the futur never were so close than now ;) - I mean Spur Note 2: I check that using SmallInteger arithmetic and final LargeIntegerization is slower, COG or not. So the (LargeInteger new: 4) trick will stay a while longer. It would be more efficient to reduce Color componentMax to: 255.0, then use a single + 16rFF000000... 3) Guard more Form bits inst. var. access with unhibernate. This was not applied to pixelValueAt: because this message is used inside tight loops, and it would be preferable (more efficient) to fail the primitive, and unhibernate in the fallback code. 4) Classify a few methods exclusively used by PostScript generation under 'postscript generation'. I know they virtually could be used for something else, but there's enough API to digest and classification helps. It will be time to unclassify eventually if ever someone send those messages ============================================= http://lists.squeakfoundation.org/pipermail/packages/2013-December/006804.html Name: Tests-fbs.278 Ancestors: Tests-nice.277 Monticello now depends on Environments, because Monticello can now (thanks, Chris Muller!) load an MCZ into an Environment. ============================================= http://lists.squeakfoundation.org/pipermail/packages/2013-December/006805.html Name: Tests-fbs.279 Ancestors: Tests-fbs.278 Putting the supposedly empty collections in the assert's description means getting a jump start on debugging failures. ============================================= http://lists.squeakfoundation.org/pipermail/packages/2013-December/006806.html Name: GraphicsTests-fbs.38 Ancestors: GraphicsTests-fbs.37 Bare #assert:s are useless in an offline environment. ============================================= http://lists.squeakfoundation.org/pipermail/packages/2013-December/006807.html Name: Graphics-nice.283 Ancestors: Graphics-nice.282 Oups, fix my recent breakage of Color>>pixelValueForDepth: it was not at all obvious to factor out the minimum pixel value. ============================================= http://lists.squeakfoundation.org/pipermail/packages/2013-December/006808.html Name: Environments-cmm.37 Ancestors: Environments-nice.36 Minor cleanups while trying to learn Environments. ============================================= |
Free forum by Nabble | Edit this page |